mirror of https://github.com/apache/openjpa.git
OPENJPA-2525: Change new test entities to use AUTO instead of IDENTITY pk generation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1629048 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
970cd53e8d
commit
64c1eb9273
|
@ -31,7 +31,7 @@ public class ACase {
|
|||
|
||||
private int id;
|
||||
@Id
|
||||
@GeneratedValue(strategy=GenerationType.IDENTITY)
|
||||
@GeneratedValue(strategy=GenerationType.AUTO)
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ public class AEvident {
|
|||
|
||||
private int id;
|
||||
@Id
|
||||
@GeneratedValue(strategy=GenerationType.IDENTITY)
|
||||
@GeneratedValue(strategy=GenerationType.AUTO)
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ public class AText {
|
|||
|
||||
private int id;
|
||||
@Id
|
||||
@GeneratedValue(strategy=GenerationType.IDENTITY)
|
||||
@GeneratedValue(strategy=GenerationType.AUTO)
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue