i don't think that is possible, the tool is used to generate the db schema from the mappings, not to edit the db schema.
if you need a vendir indipendent solution you can do all this db changes in a procedure defined with <database-object> (you will use dialect-scope to define this procedure in a different <database- object> for every db that you need to use) and then you will call in your application sql = "execute procedure Edit_Db_After_Initialization"; session.CreateSQLQuery(sql).ExecuteUpdate(); the best thing will be if you can add directly the not-null cosntraint in the mapping and change your data initialization -- 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.
