-->
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: etc/hibernate.properties
PostPosted: Wed Dec 22, 2004 9:15 am 
Newbie

Joined: Tue Dec 21, 2004 6:03 pm
Posts: 4
Newbee question.

Step 2) edit etc/hibernate.properties, specifying values for your database

If I am using mysql, what do I need to change? (I believe I have to copy the jdbc driver, which is JConnecter3, but what to change in the properties file?)

Thanks in advance!


Top
 Profile  
 
 Post subject: Re: etc/hibernate.properties
PostPosted: Wed Dec 22, 2004 9:37 am 
Newbie

Joined: Wed Dec 15, 2004 9:14 am
Posts: 4
hibernate.dialect net.sf.hibernate.dialect.MySQLDialect
#hibernate.connection.driver_class org.gjt.mm.mysql.Driver
hibernate.connection.driver_class com.mysql.jdbc.Driver
hibernate.connection.url jdbc:mysql://localhost/test
hibernate.connection.username [your database user]
hibernate.connection.password [your password]

RisingSun wrote:
Newbee question.

Step 2) edit etc/hibernate.properties, specifying values for your database

If I am using mysql, what do I need to change? (I believe I have to copy the jdbc driver, which is JConnecter3, but what to change in the properties file?)

Thanks in advance!


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.