Hello guys,
I've developing a project with NHibernate and Oracle. We have a table which
has a column named Level and Level is a keyword used on oracle, which we
should escape with quotes to make a sql statement. I've looking how to do
it on NHibernate and I saw we have a configuration that we can add on the
hibernate.cfg.xml, like this tag:
<property name="hbm2ddl.keywords">auto-quote</property>
We saw it on the Fabio Maulo's blog
<http://fabiomaulo.blogspot.com.br/2009/06/auto-quote-tablecolumn-names.html>,
and we understand it should escape all the table/column names with quotes,
but it does not work fine to me. Instead "auto-quote" we also tried
"keywords" but we have gotten the same result.
I know we can change our mapping and force to map the column name with
quotes, but it looks like a workaround for us. Is there any way to get the
column names escaped with quotes for the sql statements?
Thank you.
--
______________________________________
Felipe B Oriani
[email protected]
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.