BD mysql composite primary-key:

  | fields id1 --> type INTEGER
  | fields id2 --> type INTEGER
  | 

Seam-gen put  in entity-bean composite-Id:


  | int id1;
  | int id2;
  | 

And "home" bean call :


  | if (objectId().getId1() == null && objectId().getId2()==null)
  | ....
  | 



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022532
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to