Table name auto-completion in hibernate mapping files can't handle table with capital
letters in PostgreSQL
-----------------------------------------------------------------------------------------------------------
Key: HBX-1011
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1011
Project: Hibernate Tools
Issue Type: Bug
Components: eclipse
Affects Versions: 3.2.beta11
Environment: 3.2.beta11, PostgreSQL
Reporter: Miguel Almeida
in Eclipse, autocompletion of the "table" element in .hbm.xml files works. The
problem is with capital letters. At least in PostgreSQL, for hibernate to work you need to
write the table name in between `` (example, `TableName`).
Unfortunately, auto complete won't add the ``. If you manually add them, you'll
lose the column names when writing the properties.
If you leave the table name without the ``, the query won't work (it will say it
can't find tablename - with a small "t" and "n").
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira