Persistence
Hello! Maybe somebody can tell me, if there's a possibility to persist relationship entities in different datasources in Application Server 9. I've tried out, but caught errors on deployment. Also I've found out, that WebLogic server do not support this.
Any hint is greatly appreciated.
[303 byte] By [
avoch] at [2007-11-14]

Can you explain what you mean by different data sources? Does it mean different kinds of data sources (e.g.) JDBC, non-JDBC data source or do you want to store related entities in different data bases? Answer to both the questions is NO. We only support JDBC data source for JPA entities. We are thinking of adding support for JCA RA, but no concrete plans as yet. Secondly, a persistence unit defines the set of all classes that are related or grouped by the application, and which must be colocated in their mapping to a single database. There is no plan to change this scenario.
Thanks,
Sahoo
I meant to store related entities in different data bases. Well, that's a pity, but thanks a lot anyway for answering my question explicitly. We'll try to find some other solution.