[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6069) Escape entity fields name when required
stephan (JIRA)
noreply at atlassian.com
Thu Mar 31 04:33:09 EDT 2011
Escape entity fields name when required
---------------------------------------
Key: HHH-6069
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6069
Project: Hibernate Core
Issue Type: Bug
Components: envers
Affects Versions: 3.6.2
Environment: Hibernate Core 3.6.2.Final
Hibernate Envers 3.6.2.Final
Postgesql v8.3.14
Reporter: stephan
Priority: Blocker
I have a class defined like this :
@Entity
@Audited
public class foo {
@Column(name="`SERIAL#`")
private String serial_;
...
}
Hibernate generates sucessfully an insert statement :
insert into foo("SERIAL#") values(?);
whereas Hibernate Envers failed by generating :
insert into foo_aud(REVTYPE, SERIAL#, REV) values(?, ?, ?); -- Note the absence of double quotes
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list