NHibernate does not quote tablename nor columns names by default. 2009/10/29 Mas <[email protected]>
> > I'm trying to use NHibernate to connect talk to an Oracle 10g XE > database. I'm using Fluent to do my mappings. > > The problem I'm running into is the SQL being sent to Oracle has > quotes around the table names. Since Oracle puts all table names to > upper case, it fails to find the table. I would like to have casing in > my mappings, just to improve readability. > > I've tried to use the configuration <property > name="hbm2ddl.keywords">none</property>, suggested by the following > blog post: > > http://nhforge.org/blogs/nhibernate/archive/2009/06/24/auto-quote-table-column-names.aspx > > Is there a way to tell NHibernate not to put quotes around the table > name? On the flip side of that, is there a way to tell NHibernate to > put quotes around all identifiers (tables, columns, sequences)? > > I'm using the driver OracleDataClientDriver, dialect Oracle10gDialect, > and Oracle 10g XE. > > Thanks. > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
