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 config driver file in mssql.xml?
PostPosted: Mon Jul 02, 2007 10:36 am 
Newbie

Joined: Mon Jul 02, 2007 10:23 am
Posts: 1
as the subject say,how to config driver file in Middlegen-Hibernate-r5/config/database/mssql.xml?
the driver have three files,and how to witer it in<property name="database.driver.file"?
thanks~~~


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 6:53 am 
Newbie

Joined: Thu Aug 02, 2007 6:33 am
Posts: 1
suhuajun

For MSSQLServer JTDS driver, here are the settings:

<property name="database.driver.file" value="${lib.dir}/jtds-1.2.1.jar"/>
<property name="database.driver" value="net.sourceforge.jtds.jdbc.Driver"/>
<property name="database.url" value="jdbc:jtds:sqlserver://localhost:1433/TestDB;tds=8.0;lastupdatecount=true"/>
....

Regards,
Kamran


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.