/******************************************************************************* * Copyright (c) 2008, 2015 Nathan Beyer (Cerner). All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html * and the Eclipse Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * 08/20/2008-1.0.1 Nathan Beyer (Cerner) * - 241308: Primary key is incorrectly assigned to embeddable class * field with the same name as the primary key field's name ******************************************************************************/ package org.eclipse.persistence.testing.models.jpa.ddlgeneration; import javax.persistence.Embeddable; @Embeddable public class ThreadInfo { private long id; private String name; public ThreadInfo() {} public long getId() { return id; } public void setId(long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } }