-->
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: How to Setup hibernate.cfg.xml for Oralce 10g with Jtds?
PostPosted: Wed Sep 19, 2007 12:04 pm 
Beginner
Beginner

Joined: Thu Jun 30, 2005 4:14 pm
Posts: 25
Hi, Folks,

My client wants to Chnage MSSQL server to Oracle 10g.
I am using jtds JDBC driver. Currently hibernate configure is like this:

Code:
<property name="connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
      <property name="connection.url">jdbc:jtds:sqlserver://192.168.100.97:1433/sumacmt</property>
        <property name="connection.username">sa</property>
        <property name="connection.password">sa</property>
        <property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
      <property name="show_sql">true</property>


I am not sure how change to the 2 parts: jdbc:jtds:sqlserver and rg.hibernate.dialect.SQLServerDialect

Code:
<property name="connection.url">jdbc:jtds:sqlserver://192.168.100.97:1433/sumacmt</property>
  <property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
      <property name="show_sql">true</property>


Does some one can tell me?
Thank you!

Chwang


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.