Re: [OJB-developers] StatementManager bindInsert, bindUpdate
Brought to you by:
thma
From: Jakob B. <jbr...@ho...> - 2002-02-15 13:30:29
|
hi florian, i really think modifiying the driver is the way to go here because there's no other type than BIT to model a Boolean in java.sql.Types. jakob ----- Original Message ----- From: "Florian Bruckner" <bf...@fl...> To: "Jakob Braeuchi" <jbr...@ho...> Cc: <obj...@li...> Sent: Friday, February 15, 2002 11:28 AM Subject: RE: [OJB-developers] StatementManager bindInsert, bindUpdate > > > i'm using it as a boolean. > > according to the mysql doc BIT, BOOL and CHAR(1) are synonyms, but the > > driver does not know BIT. > > Thats what I thought. I think the problem is really within your mapping, the > old code just covered an inconsistency within it. Try to modify the type so > it is regocnised by the JDBC-Driver. > > > > > maybe this is an additional point for the DatabasePlatform ? > > Of course you could also modify the JDBC-Driver ;-) > > > > > jakob > > > > Florian > > |