[jboss-user] [JBoss Seam] - Re: Problem with manual flush mode for managed persistence c

2007-12-19 Thread [EMAIL PROTECTED]
You would set up multiple entity manager components in components.xml like | | | @In EntityManager entityManager1; | @In EntityManager entityManager2; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114416#4114416 Reply to the post : http://www.

[jboss-user] [JBoss Seam] - Re: Problem with manual flush mode for managed persistence c

2007-12-18 Thread asookazian
Does SMPC work with multiple datasources in the same app? If yes how would you configure the @In injection attribute similar to the @PersistenceContext JPA attribute which you can specify a persistenceUnit name? In the API for the Seam @In annotation there is no element similar to unitName...

[jboss-user] [JBoss Seam] - Re: Problem with manual flush mode for managed persistence c

2007-07-31 Thread [EMAIL PROTECTED]
No, both would return an SMPC (getPersistenceContext can also return a Seam managed hibernate session) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069389#4069389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069389

[jboss-user] [JBoss Seam] - Re: Problem with manual flush mode for managed persistence c

2007-07-31 Thread nickarls
"[EMAIL PROTECTED]" wrote : You need to use a SMPC Aah, indeed, thanks. Would I also be getting the SMPC by using the getEntityManager() in EntityHome and the standard PC by using the getPersistenceContext() in PersistenceController? View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - Re: Problem with manual flush mode for managed persistence c

2007-07-31 Thread [EMAIL PROTECTED]
You need to use a SMPC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069204#4069204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069204 ___ jboss-user mailing list jboss-us