-->
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.  [ 4 posts ] 
Author Message
 Post subject: New database support (Teradata, for example)
PostPosted: Tue Oct 07, 2003 4:28 pm 
Newbie

Joined: Tue Oct 07, 2003 4:17 pm
Posts: 9
What would I do if I wanted to use Hibernate with a DBMS that isn't on the support list yet? In particular, I'd be interested in being able to use Teradata, which is essentially SQL-92 compliant.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 07, 2003 5:18 pm 
Beginner
Beginner

Joined: Tue Oct 07, 2003 4:41 am
Posts: 21
Add your own SQLDialect subclass.

Code:
package net.sf.hibernate.dialect;
public class TeradataDialect extends Dialect {
...
}


which may not have to override much in the abstract class Dialect.

In your hibernate configuration set the property

hibernate.dialect net.sf.hibernate.dialect.TeradataDialect

John


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 07, 2003 6:58 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
John is correct. After testing then submit the patch to JIRA.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 07, 2004 7:06 pm 
Newbie

Joined: Wed Mar 31, 2004 6:22 pm
Posts: 4
I have submitted a dialect as a patch already.
HB-1215


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.