[jboss-user] [JBoss Seam] - Re: Manual flush not working
KimLord
do-not-reply at jboss.com
Sat Sep 15 20:55:57 EDT 2007
This was my last try:@In EntityManager entityManager;
| @Transactional
| @Begin(flushMode=FlushModeType.MANUAL, join=true)
| public String persist() {
| log.info("Override persist");
| getEntityManager().joinTransaction();
| getEntityManager().persist( getInstance() );
|
| getEntityManager().getTransaction().commit();
| getEntityManager().flush();
| moveTempRecord();
| return "success";
| }
I have spent all day on this with no luck. I am new to seam so any help is greatly appreciated.
Kim
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084791#4084791
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084791
More information about the jboss-user
mailing list