0 Replies Latest reply on Mar 6, 2014 5:58 PM by apexlars

    Hibernate 4.2.7.SP1-redhat-3 and Oracle 12c

    apexlars

      Has anyone been able to use 12c's identity column with Hibernate? I'm unable to find a 12c dialect, and our implementation will simply not connect.

       

      We’re moving from 11g to 12c – no 12c dialect - and even if I tell the objects to use:

      @GeneratedValue(strategy=GenerationType.IDENTITY)

       

      Hibernate throws an exception:

      Caused by: java.lang.IllegalArgumentException: org.hibernate.dialect.Oracle10gDialect does not support identity key generation