-->
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: informix9.4 database and java.sql.BLOB
PostPosted: Fri Aug 11, 2006 11:22 am 
Newbie

Joined: Wed Jul 12, 2006 5:33 am
Posts: 4
Hello!

I am using hibernate 3.1.rc2 for EJB3 with Jboss 4.0.3SP1.
I have entity with field private byte[] document. It's annotated with @Lob. I try to move my application from Oracle10g to Informix9.4. During automatic table schema generation I got "org.hibernate.MappingException: No default type mapping for (java.sql.Types) 2004" which is java.sql.BLOB. I checked in org.hibernate.dialect.InformixDialect - there is no java.sql.BLOB to blob mapping. There is from java.sql.LONGVARBINARY to blob mapping instead. Is there posibility to use this mapping somehow? Or probably change mapping from BLOB to blob? How can I solve this problem - I need this mapping a lot.

regards

MichaƂ


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.