[jboss-user] [EJB 3.0] - Re: how to prevent multi-access

wolfc do-not-reply at jboss.com
Thu Jul 5 11:26:37 EDT 2007


Use the @Version annotation, see EJB 3 Persistence 9.1.17.

@Version
  | @Column(name="OPTLOCK")
  | protected int getVersionNum() { return versionNum; }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060877#4060877

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060877



More information about the jboss-user mailing list