On Wed, Nov 12, 2008 at 12:03 AM, Kevin Roche <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for answering my questions yesterday. > > Those problems are fixed now and I have new ones.... :-( > > I have some tables with dates on and I want to leave them in some cases set > to Null. When I instantiate a new object Transfer set the dates to today and > I really want them set to null. > > I have the date defined as: > > <property name="endDate" column="endDate" type="date" nullable="true" /> > > Do I have to write a configure method to do this?
Yes, that is what a configure() method is for. > > > In some cases there are dates for recording when a table is last updated or > first added. I am planning to use a decorator to set the dates on those > columns. Should I also set the definition as ignore-insert and ignore-update > in those cases? Setting it to ignore on insert or update will mean it won't get inserted/updated in the database - don't you want to set these vales? Mark -- E: [EMAIL PROTECTED] 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 [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 -~----------~----~----~----~------~----~------~--~---
