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/trunk@1629049 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
319bb37fe1
commit
3235030257
|
@ -31,7 +31,7 @@ public class ACase {
|
||||||
|
|
||||||
private int id;
|
private int id;
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy=GenerationType.IDENTITY)
|
@GeneratedValue(strategy=GenerationType.AUTO)
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class AEvident {
|
||||||
|
|
||||||
private int id;
|
private int id;
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy=GenerationType.IDENTITY)
|
@GeneratedValue(strategy=GenerationType.AUTO)
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class AText {
|
||||||
|
|
||||||
private int id;
|
private int id;
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy=GenerationType.IDENTITY)
|
@GeneratedValue(strategy=GenerationType.AUTO)
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue