Hi there,
How do I avoid password from being displayed even in DEBUG mode. I have looked at
http://opensource.atlassian.com/project ... wse/HB-394
This requires fixing SessionFactoryImpl and DriverManagerConnectionProvider java classes and recreate the jar which we would like to avoid.
Is there an alternative to not display the password without modifying SessionFactoryImpl or DriverManagerConnectionProvider.
This is the code we use to set the password
Code:
configuration.setProperty(Environment.DIALECT, "ITGOracle9Dialect");
configuration.setProperty(Environment.DRIVER, "oracle.jdbc.driver.OracleDriver");
configuration.setProperty(Environment.URL, config.getJDBCUrl());
configuration.setProperty(Environment.USER, config.getDBUser());
configuration.setProperty(Environment.PASS, config.getDecryptedDBPassword
[/code]