-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Few questions related to Hibernate.properties file
PostPosted: Wed Sep 01, 2010 2:58 am 
Newbie

Joined: Wed Sep 01, 2010 2:47 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.