ok missed the "2 databases" thing, sorry you can still use the altdd feature to use an alternative persistence.xml and control the jndi name
that's said we'll have a look to it Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/17 tkayser <thomas.kay...@anea.ch>: > Sorry, for the confusion, let me try to explain my problem again: > > I have multiple ejb.jar, so i have multiple persistence.xml. And I'cant > adjust the persistence.xml's > > I have two physical DataBases. (both are used at the same time!) > > I need to map the corresponding DataSource(s) from the persistence.xml's to > the correct physical DB's > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Reusing-Datasource-tp4659727p4659747.html > Sent from the OpenEJB User mailing list archive at Nabble.com.