Hi,
I am using Hibernate and have 2 session factories congigured:
1. sessionFactory -> persistentContextFactory
2. dmsSessionFactory -> dmsPersistentContextFactory
Each one has its own interceptor (persistentContextConversationInterceptor
and dmsPersistentContextConversationInterceptor).
Now I configure my conversation scope as follows:
...
<entry key="conversation.manual">
<bean
class="org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope">
<!--<property name="timeout" value="15" /-->
<property name="advices">
<list>
<ref bean="persistentContextConversationInterceptor" />
<ref bean="dmsPersistentContextConversationInterceptor" />
</list>
</property>
</bean>
</entry>
...
But it seems, like only the first interceptor works (For example, the
entities from dmsSessionFactory couldn't be loaded lazyly...)
What I am doing wrong?
Thanks in advance for any help!
--
View this message in context:
http://www.nabble.com/-Orchestra--is-it-possible-to-load-entities-from-different-persistence-contextes-in-the-same-conversation--tp17597557p17597557.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.