|External file to specify DB information [message #521325]
||Wed, 17 March 2010 05:53
Registered: March 2010
I'm currently developing an application using Springframework, OSGi and EclipseLink. Currently, to store the DB connection information, I have a persistance.xml. I don't want my client to need to re-export the plugin to specify the information about his own DB.
So, perhaps this is a stupid question, but is there a way to specify the information such as eclipselink.jdbc.url, eclipselink.jdbc.user and eclipselink.jdbc.password from "outside" the actual plugin making use of those information?
Ideally I want the client to have a human readable file which he can edit (security issues set aside).
Thanks for helping,
[Updated on: Wed, 17 March 2010 06:00]
Report message to a moderator