[jboss-cvs] JBossAS SVN: r105400 - projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun May 30 14:06:51 EDT 2010
Author: ALRubinger
Date: 2010-05-30 14:06:50 -0400 (Sun, 30 May 2010)
New Revision: 105400
Modified:
projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity/AutogenIdentityBase.java
projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity/IdentityBase.java
Log:
[EJBBOOK-14] Make the ID PK subclasses @MappedSuperclass, not @Entity
Modified: projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity/AutogenIdentityBase.java
===================================================================
--- projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity/AutogenIdentityBase.java 2010-05-30 17:57:34 UTC (rev 105399)
+++ projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity/AutogenIdentityBase.java 2010-05-30 18:06:50 UTC (rev 105400)
@@ -21,7 +21,6 @@
*/
package org.jboss.ejb3.examples.testsupport.entity;
-import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@@ -32,7 +31,6 @@
* @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
* @version $Revision: $
*/
- at Entity
@MappedSuperclass
public abstract class AutogenIdentityBase
{
Modified: projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity/IdentityBase.java
===================================================================
--- projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity/IdentityBase.java 2010-05-30 17:57:34 UTC (rev 105399)
+++ projects/ejb-book/trunk/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/entity/IdentityBase.java 2010-05-30 18:06:50 UTC (rev 105400)
@@ -21,7 +21,6 @@
*/
package org.jboss.ejb3.examples.testsupport.entity;
-import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@@ -31,7 +30,6 @@
* @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
* @version $Revision: $
*/
- at Entity
@MappedSuperclass
public abstract class IdentityBase
{
More information about the jboss-cvs-commits
mailing list