-->
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.  [ 2 posts ] 
Author Message
 Post subject: How to configurate hibernate.cfg.xml?
PostPosted: Tue Oct 26, 2010 10:39 am 
Newbie

Joined: Tue Oct 26, 2010 10:02 am
Posts: 1
Hi, I meet a problem, in hibernate.cfg.xml :
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="connection.url">jdbc:hsqldb:hsql://localhost</property>
when I want to connection to oracle, the property value will change, and I not want to know the exact property value,
but how to find the information about the property value from official.
for example :
when connect to oracle the value of property "connection.url" is “oracle.jdbc.driver.OracleDriver”,where I can get the information “oracle.jdbc.driver.OracleDriver“,of course, I can search from google, but I want to know from authority.


Thans very much.


Top
 Profile  
 
 Post subject: Re: How to configurate hibernate.cfg.xml?
PostPosted: Tue Oct 26, 2010 11:41 am 
Senior
Senior

Joined: Fri Oct 08, 2010 8:44 am
Posts: 130
You need to specify the JDBC driver you want to use. If you do not know what JDBC driver is then learn it before even touching Hibernate.


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

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.