What is the sql error? I've got unit tests with mysql that work fine on tables such as:
CREATE TABLE `transfer_unit`.`tbl_basic` ( `idbasic` decimal(18,0) NOT NULL, `basic_date` datetime default NULL, `basic_numeric` decimal(18,0) default NULL, `basic_string` varchar(200) default NULL, `basic_uuid` varchar(200) default NULL, `basic_boolean` bit(1) default NULL, `basic_decimal` decimal(18,5) default NULL, PRIMARY KEY (`idbasic`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; Which use a bit column, and they work just fine. Mark On Wed, Jan 7, 2009 at 11:07 AM, Dan O'Keefe <dan.oke...@gmail.com> wrote: > How does transfer handle a mySQL bit field that is non nullable and a > default value of 0 configured. > <property name="ignore" type="boolean" column="ignore" nullable="false" /> > When I pass the object for transfer to save, I have ensured it is 1 or 0, > but transfer is changing it to true or false causing a SQL error. > I see at http://docs.transfer-orm.com/wiki/Transfer_Configuration_File.cfm > that the default null value is false for boolean, but this property has the > nullable set. > > Dan > > > -- E: mark.man...@gmail.com W: www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to transfer-dev@googlegroups.com To unsubscribe from this group, send email to transfer-dev-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---