Hi There, we got a strange scenario in our Hibernate based web application.
On the Database SQL Server 2005,there is a field called user_type of Boolean type and it will store True or False messages and this Data Base SQL Server2005 allows to store "NULL" into this field which is very strange.
When run a HQL Query and set these values into Bean Hibernate will through exceptions saying
I am not sure how to handle this scenario.
In the first case how come DB SQL Server2005 is allowing to store "NULL" values into Primitive types and Hibernate/Java or any programming language cannot/impossible to store NULL into primitive data types.
Any arguments/answers please.
Thanks in advance,VijayGadde