Misc test update.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003292 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard G. Curtis 2010-09-30 21:29:00 +00:00
parent c7a08227a3
commit 1f64b37ec5
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;
@Entity
public class AutoIncrementEntity {
@ -29,6 +30,9 @@ public class AutoIncrementEntity {
@GeneratedValue(strategy=GenerationType.IDENTITY)
public int id;
@Version
int version;
public String somethingElse;
public int getId(){