Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

user/password in JPA persistence.xml in untrusted environments

843830Nov 12 2007
Hello.

Is there any way I can avoid exposing database connection information (user/password) in the persistence.xml file?

I am using JPA in a J2SE desktop application that will run in an untrusted environment and wish to hide database access information.

Thanks and regards.
Antonio.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2007
Added on Nov 12 2007
0 comments
331 views