|eclipselink programmatically generate persistentunit [message #870643]
||Wed, 09 May 2012 07:50
| abdullah ilhanlı
Registered: May 2012
I have one problem when i tried to generate persistent unit programmatically.|
I have two system. These are Configuration Manager(CM) and Business Managemer(BM).
They run on the different context. In BM I used eclipselink for data layer.
You can define database and its user on the CM for BM sign in.
When you define database and its users on the CM, BM didnt know this database and its user. Because on the BM JPA persistence.xml is predefined.
I don't know how many database created on the system.
I need generate persistence unit programmatically.
Is it possible any ideas?
Is it possible with hibernate?
Is it possible run JPA without persistence.xml ?
Thanks in advance
[Updated on: Wed, 09 May 2012 07:56]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01338 seconds