Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gemini-dev] Gemini JPA - Store JDBC Url + User + Password in external configuration?

Hi Jan,

Please use the forum for usage questions as this list is intended for Gemini projects development. Thanks.

To answer your question, specifying JDBC params at runtime is certainly possible and you may look at the forum post here where it is described:

    http://www.eclipse.org/forums/index.php/t/203732/

There are a number of other forums posts on the subject where others are trying to create *additional* EMFs named the same but with different JDBC params. This is not supported in 1.0, but there are some related enhancement requests open on it [1], [2] and I will be adding something in the next release.

Hope this helps,

-Mike

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=352708
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=365619

On 02/02/2012 1:53 AM, Jan Stamer wrote:

Hi All,

 

we are evaluating Gemini JPA right now. Currently I’ve got one question:

è Is it possible to store both JDBC URL as well as username and password in an external configuration?

 

We would like to be able to change these values using OSGi configuration mechanisms.

 

Help appreciated,

Thanks Jan

 



_______________________________________________
gemini-dev mailing list
gemini-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gemini-dev

Back to the top