I’m getting back into NHibernate and I’ve noticed a new configuration property being used in examples: SchemaAutoAction. I cant seem to find documentation on what the various settings mean. The settings / my guesses as to what they mean are:
-
Recreate — Drop and recreate the schema every time
-
Create — If the schema does not exist create it
-
Update — issue alter statements to make the existing schema match
the model -
Validate — Blow up if the schema differs from the model
Is this correct?
SchemaAutoActionis the same asschema-actionmapping attribute.As per docs: