[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-6069) Escape entity fields name when required

Adam Warski (JIRA) noreply at atlassian.com
Tue Apr 19 11:26:59 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Warski reassigned HHH-6069:
--------------------------------

    Assignee: Adam Warski

> 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
>            Assignee: Adam Warski
>            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