Hibernate.connection.password

Hi All,

I want to know if I can change property names like hibernate.connection.password , hibernate.connection.username, to some other names like AppName.connection.password etc. I have a requirement in and for that this needs to be done.

Please help.

Just use a DataSource instead which you can configure with any properties you want, as long as you pass it to Hibernate.

The Hibernate configuration prefix cannot be changed. Most properties are just constants in the AvailableSettings class which explains why the property names are immutable.