Encrypt jdbc password

Is it possible to encrypt the password to access the database ?

When working in Studio - no, it’s impossible. Studio reads the password from the local Tomcat’s context.xml where it should be in plain text.

In production, it’s up to you how to handle passwords, just google for something like “tomcat jdbc password encryption” and you’ll see a lot of recommendations.