I am having some issues with the oracle schema SchemaExport is generating. The ddl on the console looks fine, but i am getting an ora-0904 error (illegal identifier).
I want to grab the ddl in an output file, but coming up short somewhere. Here is the code I am trying to execute.
new NHibernate.Tool.hbm2ddl.SchemaExport(cfg).SetOutputFile("c:/spike.sql");
new NHibernate.Tool.hbm2ddl.SchemaExport(cfg).SetDelimiter(";");
new NHibernate.Tool.hbm2ddl.SchemaExport(cfg).Execute(true,false,false,true);
new NHibernate.Tool.hbm2ddl.SchemaExport(cfg).Create(true,false);
The spike.sql file never gets created.
|