Java Mailing List Archive

http://www.gg3721.com/

Home » the NHibernate development list »

Re: [NHibernate-development] NHibernate 2.0 and DB2

Ayende Rahien

2008-06-16

Replies: Find Java Web Hosting

Author LoginPost Reply
Please create a JIRA issue, which include mapping, entities, the code to reproduce the error and the exact error that you are getting.

On Mon, Jun 16, 2008 at 12:19 PM, Sergey Cherkasov <liveflame@mail.ru> wrote:

Hello everybody!


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? 


  


-- 

С уважением, Сергей  


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nhibernate-development


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development
©2008 gg3721.com - Jax Systems, LLC, U.S.A.