[jboss-user] persistence.xml and datasource

Jari Fredriksson jarif at iki.fi
Tue Nov 25 11:12:41 EST 2008


 
Hello!

Jboss likes to name jdbc-datasources like java://DefaultDS

I would like to use name like jdbc/MyDatasource in my persistence.xml

That is so the definition would be portable across application servers out there. I'm sure there must a simple way to declare and alias for persistence.xml use, but have not found out it yet.

Any ideas?





More information about the jboss-user mailing list