-->
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: HHH-3892 : ... mapping SQL LONGVARCHAR and CLOB to String ..
PostPosted: Thu Jan 19, 2012 5:08 pm 
Newbie

Joined: Sun Apr 10, 2005 2:20 am
Posts: 15
The fix for this issue (HHH-3892) broke DDL generation for Oracle in 3.6.6.GA.

In Hibernate-core 3.4.2.GA, a 'text' property is generated as a 'clob', but in 3.6.6.GA the same text property is now generated as a 'long'.

Code:
<property name="errorDescription" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text">
   <column not-null="false" unique="false" name="`errordescription`" length="65536"/>
</property>


This is how 3.6.6.GA is generating a 'text' property:
Code:
        "errordescription" long,


This is how 3.4.2.GA used to generate it:
Code:
        "errordescription" clob,


Here is the changelog:

https://fisheye2.atlassian.com/changelo ... c399912194

What is the workaround?


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.