2 Replies Latest reply on Mar 31, 2011 4:38 AM by stephan972

    Escaping fields name

    stephan972 Newbie



        I have a class defined like this :




      public class foo {


           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



      How can i instruct Hibernate Envers to use the double quotes ? Is it a bug ?


      Java 6

      Hibernate Core 3.6.0.Final

      Hibernate Envers 3.6.0.Final

      Postgesql v8.3.14