[jboss-cvs] JBossAS SVN: r60842 - branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree832.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 23 11:46:20 EST 2007


Author: wolfc
Date: 2007-02-23 11:46:20 -0500 (Fri, 23 Feb 2007)
New Revision: 60842

Modified:
   branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree832/Person.java
Log:
Fixed entity

Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree832/Person.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree832/Person.java	2007-02-23 15:41:07 UTC (rev 60841)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree832/Person.java	2007-02-23 16:46:20 UTC (rev 60842)
@@ -22,6 +22,7 @@
 package org.jboss.ejb3.test.ejbthree832;
 
 import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
 
 /**
@@ -47,6 +48,7 @@
    }
    
    @Id
+   @GeneratedValue
    public Long getId()
    {
       return id;




More information about the jboss-cvs-commits mailing list