Hi,
I want to configure my hibernate settings with the help of
Hibernate.properties file.
I've already written the contents in the file as well as the HBM file is also ready.
Contents from Hibernate.properties
Code:
hibernate.connection.driver_class = oracle.jdbc.driver.OracleDriver
hibernate.connection.url = myurl
hibernate.connection.username = test
hibernate.connection.password = test
hibernate.dialect = org.hibernate.dialect.OracleDialect
My questions are...
1) Do i have to write hibernate.cfg.xml??
2) If yes, what should be written in it??
3) How can i map the .properties file , So that connection can be made...??
Please Help...
Thanks...
Aditya Kanitkar