Hi, JPA does not define this functionality. You could pass in the password via the application instead of hard-coding it in a persistence.xml. Or, if you are in an app server environment, you should use a jndi lookup of a datasource. This would be the most secure.
Kevin On Tue, May 12, 2009 at 4:31 AM, wang yu <wangy...@gmail.com> wrote: > As title. > > Regards, > Yu Wang >