Im know that oracle doesnt have a boolean type but nhibernate creates
a number(1) column type to store a 1 or 0 but nhibernate puts true or
false into the oracle DbParameter. Somewhere down the line though this
true/false gets converted to 1 or 0 by the driver and inserts a
number. This works fine in windows but when I do it with mono , it
trys to insert the word "True" or "False" and of course I get an
invalid number error. Im just wondering if the converting by the
driver is just a side effect that nhibernate noticed and left it that
way or should we really be puting in 1 or 0 into the DbParameter
object? Its just that I have to talk to the mono people about this but
Im wondering if they will say that of course its an Int16 type and you
shouldnt be puting characters into an Int16 field .

I was looking at the java world and Hibernate and they see the problem
with oracle and booleans too but it seems that they handle it in a
different way. Does anyone have any thoughts on this?

thanks

scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to