Hi Bob Thanks for saving my time. I read that post and it looks like many people have run into the same problem. I think that it's very odd to default the date to Now(). It should be defaulted to NULL and then the nullvalue property should have the option to set it to now perhaps nullvalue="$now".
Anyway. I'll try and work out this configure() hack now. Cheers Matthew On Mar 23, 4:14 pm, Bob Silverberg <[email protected]> wrote: > See here: > > http://groups.google.com/group/transfer-dev/browse_thread/thread/fb2a... > > In a nutshell, that is the expected behaviour. Use configure() if you want > your dates set to null by default. > > Bob > > > > On Mon, Mar 23, 2009 at 1:08 AM, Matthew <[email protected]> wrote: > > > Hi > > > I'm trying to work out why when I get Transfer to create an empty > > object/bean it is setting the only date field of this object to > > today's date and not null?!?!? > > > I'm scanning through the docs, reading forum and investigating > > Transfer code but thought I might get a quick answer here. > > > **CF CODE** > > getTransfer().get('PressRelease',0) > > > **CONFIG** > > <object name="PressRelease" table="press_release"> > > <id name="pressReleaseId" column="press_release_id" > > type="numeric"></ > > id> > > <property name="heading" type="string"></property> > > <property name="releaseDate" column="release_date" type="date" > > nullable="true"></property> > > </object> > > > **ENVIRONMENT** > > Transfer 1.6 > > CF 7 > > SQL Server > > > Hope someone can help. I'll keep searching. > > Cheers > > Matthew > > -- > Bob Silverbergwww.silverwareconsulting.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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
