RE: AW: Setting foreign key column as null

2007-01-11 Thread Greg Monroe
foreign key column as null Hi. Thanks for your help. Defining javaType as object for a column name seemed like the best solution. However the generated classes do not compile. The setParentAssetId method now takes a 'Long' instead of 'long' which will help me set it to null. However

Re: AW: Setting foreign key column as null

2007-01-10 Thread Shilpa Kulkarni
, January 9, 2007 1:56:18 PM Subject: RE: AW: Setting foreign key column as null The schema column tag has a javaType attribute that can be used to specify a single column is to be treated as an object rather than a primative. E.g.: column name=xxx javaType=object / FWIW, some DB server are very

Re: AW: Setting foreign key column as null

2007-01-09 Thread Shilpa Kulkarni
Thanks for your reply. Wouldn't this change other the generated classes as well. There is lot of code already passing primitives to exisiting data classes. Is there anything that can be specifically done for this column? Shilpa - Original Message From: Thoralf Rickert [EMAIL

RE: AW: Setting foreign key column as null

2007-01-09 Thread Greg Monroe
set the FK column to NULL. -Original Message- From: Shilpa Kulkarni [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 4:10 PM To: Apache Torque Users List Subject: Re: AW: Setting foreign key column as null Thanks for your reply. Wouldn't this change other the generated