Hi,
I am looking for an option to enable the identifier quotation for SQL.
I do have a table that uses column names which are also SQL keywords. This is especially problematic at the ddl script generation e.g.:
Code:
CREATE TABLE MyTable(
UNIQUE INT
);
will be rejected by most dbms. But putting the column name into quotation (as reported by the jdbc driver via "DatabaseMetaData.getIdentifierQuoteString()" method) would work.
eg:
Code:
CREATE TABLE MyTable(
"UNIQUE" INT
);
Is there an Option for this, I haven't found yet or do I have to rename the column in the mapping/annotation?
Hibernate version: 3.2.6 GA
Thanks for the Help
3bit