hibernate.properties vs hibernate.cfg.xml

Viewed 7025

What is the order of precedence between hibernate.properties and hibernate.cfg.xml ?

For what I know hibernate.cfg.xml (if exists in the app's classpath) overrides hibernate.properties. Is my assumption correct ?

Thank you

1 Answers
Related