Hello,
I'm using Hibernate 3.3.1 GA and I'm reverse engineering a database with a table called update. My reverse mapping looks like this;
Code:
<table name="`update`" >
<primary-key>
<generator class="native"></generator>
</primary-key>
</table>
But the Update.hbm.xml contains the line:
Code:
<class name="Update" table="update">
While it should read (notice the backticks):
Code:
<class name="Update" table="`update`">
How to force the backtics in my generated .hbm.xml file??
Note: When I manually insert them, everyting works okay. Without them I get SQL syntax errors. So I need those backticks! ;)
Thanks in advance for your reply!
WIth kind regards,
Jurrie
PS: The examples are simplified but should still explain the problem.