Hello,

I have an application that generate SQL script files to PostGreSQL and
Oracle. It seems to generate the files well, but when I try to run the
sripts in both databases it gives an error. It seems that fluent
Nhibernate doesn't put the ";' at the and of each command, so it
doesn't run.  The code to create the session factory is shown below:

Oracle:

 ISessionFactory SessFact = Fluently.Configure()
                                       .Database
(FluentNHibernate.Cfg.Db.OracleClientConfiguration.Oracle10
                                       .ConnectionString(SQLConn))
                                      .Mappings(m =>
 
m.FluentMappings.AddFromAssembly(ModuleEntitiesAssembly).ExportTo
(ExportTest))
                                      .ExposeConfiguration
(BuildSchema)
                                      .BuildSessionFactory();

How can I make it generate the scripts correctly?

Thanks,

David Leite
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to