Author: manaRH
Date: 2011-04-20 15:56:08 -0400 (Wed, 20 Apr 2011)
New Revision: 14080
Modified:
branches/enterprise/JBPAPP_5_0/seam-gen/src/Entity.java
Log:
JBPAPP-6362
Modified: branches/enterprise/JBPAPP_5_0/seam-gen/src/Entity.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/seam-gen/src/Entity.java 2011-04-20 19:50:30 UTC (rev
14079)
+++ branches/enterprise/JBPAPP_5_0/seam-gen/src/Entity.java 2011-04-20 19:56:08 UTC (rev
14080)
@@ -12,7 +12,7 @@
{
// seam-gen attributes (you should probably edit these)
private Long id;
- private Integer version;
+ private int version;
private String name;
// add additional entity attributes
@@ -29,11 +29,11 @@
}
@Version
- public Integer getVersion() {
+ public int getVersion() {
return version;
}
- private void setVersion(Integer version) {
+ private void setVersion(int version) {
this.version = version;
}
Show replies by date