-->
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: HIbernate Informix Dialect issue
PostPosted: Thu Nov 16, 2006 1:09 am 
Newbie

Joined: Thu Nov 16, 2006 12:58 am
Posts: 1
Location: Sydney Australia
Hello,

I am working with an hibernate application but trying to use an informix database instead of the mySQL one.

The application uses a CLOB java.sql.type but the informix dialect in hibernate does not recognise this type.

I downloaded the latest hibernate source 3.2ga and added the extra registration to the InformixDialect.java file and rebuilt hibernate.

registerColumnType(Types.CLOB, "text");

This corrected the issue I was having.

Perhaps someone who maintains the informix part of hibernate can check if this is correct in general?

Perhaps Types.BLOB is also needed?

_________________
Cheers
David


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.