If you are using a conversation you can start it using manual flush mode.
| @Begin(flushMode = FlushModeType.MANUAL)
| public String select(User instance) {
| user = em.find....
| return result;
| }
|
|
| @End
| public String create() {
| em.merge(user);
| em.flush();
| return result;
| }
|
|
|
HTH.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073637#4073637
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073637
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user