Re: Recognize -1 as boolean=true
Posted by: Joachim Glink
Date: April 07, 2005 11:38PM

Thanks for your response, Mark.

I´m using Hibernate for my queries so I don´t know exactly which method is called to receive a boolean. I only know that I get true for -1 values with an old Connector/J and false with the new version.
The column type I use as boolean is always TINYINT(1).


Options: ReplyQuote

Written By
Re: Recognize -1 as boolean=true
April 07, 2005 11:38PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.