look at the helper classes SchemaExport and SchemaUpdate ie new SchemaExport(cfg).Execute(...) various option allow you to dump the script or submit directly on database. results of this operation vary in relation to the database driver you are using. In my experience MSSQL and Oracle works both very well.
On 19 Ago, 18:42, Eric <[email protected]> wrote: > A couple questions: > > How do I export schema and table data from nhibernate to a SQL script? > Likewise, How would I import that SQL script to build the table? > > Lastly, are there any good blogs or sites regarding in-place upgrades > of a database from one version to another. I'm trying to plan ahead > and want to make sure the upgrade process can be fully automatic if > the schema were to change. > > Thanks again! > Eric -- 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.
