NHibernate 2.0 and DB2

Sergey Cherkasov <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nhibernate-development
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.