use the versioning-mechanism of the entity-manager - I think you will see some exceptions
then ...
|
| java.lang.Long version;
|
| /**
| * Get the version property.
| *
| * @return java.lang.Long The value of version
| */
| @javax.persistence.Version
| public java.lang.Long getVersion()
| {
| return this.data.version;
| }
|
|
| ....
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991064#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...