-->
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: Hibernate 2.1.7, Oracle and long/varchar2
PostPosted: Wed Nov 24, 2004 8:59 am 
Beginner
Beginner

Joined: Wed Jan 21, 2004 10:15 am
Posts: 24
Location: Munich, Germany
Hello!

A quotation from the Hibernate 2.1.7 changelog:
Quote:
improved handling of long strings (now uses LONG instead of VARCHAR2) on Oracle8 (Harry Schittler)


Is there any reason why this is done? When creating a schema, all the former varchar2 columns are now long columns. This imposes many problems: For example, there cannot be more than 1 long column in Oracle, and a long column cannot be the primary key of a table.

Because of these two issues, the JUnit test reports fail with a few dozen errors when using Oracle 8.1.7 or Oracle 9.2.

Does anybody else see these problems?

Greetings,
Christian


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 24, 2004 10:57 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Confirmed, this was a mistake. Please use the Oracle9Dialect for both, they should work fine (except for long strings on Oracle8, that was the wrong fix). We'll release an update...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 24, 2004 12:45 pm 
Beginner
Beginner

Joined: Wed Jan 21, 2004 10:15 am
Posts: 24
Location: Munich, Germany
Unfortunately, one cannot use the Oracle9Dialect with an Oracle 8 database, because there are some differences e.g. in the outer join syntax.

But it's good to hear that the bug will be fixed...

Tanks a lot!
Christian


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 24, 2004 12:51 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Get 2.1.7c from Downloads.


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.