[jboss-user] [JBoss Seam] - Re: how can I do optimistic locking with crud framework?

gavin.king@jboss.com do-not-reply at jboss.com
Thu Oct 19 20:02:45 EDT 2006


Ahah. Read the JavaDoc for @Begin!

And then change:

@Begin
  | 	public String beginEdit() {
  | 		log.info("Conversation begun by beginEdit()");
  | 		return null;
  | 	}

To:

@Begin
  | 	public String beginEdit() {
  | 		log.info("Conversation begun by beginEdit()");
  | 		return "success";
  | 	}

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

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



More information about the jboss-user mailing list