-->
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: NHibernate 2.0 and DB2
PostPosted: Thu Jun 12, 2008 12:42 pm 
Newbie

Joined: Thu Jun 12, 2008 10:51 am
Posts: 2
I test NHibernate with DB2 now and have an error when try
to save the boolean variable. DB2 doesn't have boolean data type
and dialect creates instead of this type the SMALLINT one.
I declared in configuration
<property name="hibernate.query.substitutions">true 1, false 0</property>
As far as I undestood it worked only with HQL queries.
Does anybody know how to solve this problem?


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.