Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
The scenario is like this,
I have two ear files. Say myApp1.ear and myApp2.ear
I have class A in myApp1.ear
I have class B in myApp2.ear (Actually has a war file also as this part is a web application)
Now, my application demands that i need to have a join (many-to-many relationship) between class A and class B.
When i tried the suggestions you had given having different session factory names, it becomes a class loader issue as I am accessing the class A present in myApp1.ear from the web app.
Can anybody suggest me how this can be achieved...?
Thanks,
Madhuri