James Gregory
unread,May 24, 2011, 4:08:12 AM5/24/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fluent-n...@googlegroups.com
The Default method is used to specify what the default constraint should be on the column when you're generating your schema from your mappings. If you're not using SchemaExport/Update, then that method does nothing. To specify a default value for a property/field, just assign it like you would a normal field; set it in the field definition or in the constructor of your entity, nothing fancy required.