Is there any way in EJB3 to specify the different sql for create, update and delete?
In Hibernate it is something like: <class name="Person"> | <id name="id"> | <generator class="increment"/> | </id> | <property name="name" not-null="true"/> | <sql-insert callable="true">{call createPerson (?, ?)}</sql-insert> | <sql-delete>DELETE FROM PERSON WHERE ID=?</sql-delete> | <sql-update callable="true">{? = call updatePerson (?, ?)}</sql-update> | </class> Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933829#3933829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933829 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user