Validation « cfg « JPA Q&A

1. How to catch exception while validating the username and password of a hibernate.cfg.xml

Hi, I do want to set the username and password dynamically in hibernate.cfg.xml Here below is my configuration file. false oracle.jdbc.driver.OracleDriver 10 true org.hibernate.dialect.OracleDialect update thread true Also im getting that session factory object like ...

2. Disabling hibernate.cfg.xml validation !