I’d like to ask if there is a way how to encrypt my connection’s details in persistence.xml. I am a bit concerned about the security of my app and I don’t want to have anyone with basic knowledge of JPA (or even without) having my DB user, password and URL taken out of the jar file.
I know that it is possible to create a wrapper (launch4j), but I don’t want to go that way…
I use hibernate as a persistence provider.
Thank you in advance.