insert=false in the mapping? On Thu, Mar 19, 2009 at 6:29 PM, graphicsxp <[email protected]>wrote:
> > Hi, > > I have a column in my SQL Server table for which the default value is > (getdate()). > > When I try to persist my entity to this table I get an exception > because that column does not allow null value. I haven't specified not- > null=true in my mapping file, however the table column in sql server > doesn't allow null. > > But obviously nhibernate doesn't know about the default value, how can > I tell it about this ? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
