Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » External file to specify DB information
External file to specify DB information [message #521325] Wed, 17 March 2010 05:53 Go to previous message
SMaton  is currently offline SMaton
Messages: 6
Registered: March 2010
Junior Member
Hello everyone,

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,
Stefan

[Updated on: Wed, 17 March 2010 06:00]

Report message to a moderator

 
Read Message
Read Message
Previous Topic:How to load all objects in JPA 2.0 using Criteria
Next Topic:Marshalling attributes as node, why ?
Goto Forum:
  


Current Time: Thu May 23 15:48:08 EDT 2013

Powered by FUDForum. Page generated in 0.14997 seconds