hibernate-reactive: @DynamicInsert not supported with IDENTITY columns

project.ext.vertxVersion = ‘4.1.2’ project.ext.hibernateVersion = ‘1.0.0.CR9’

Database = (PostgreSQL) 13.2 (Debian 13.2-1.pgdg100+1).

This works fine in hibernateVersion = ‘1.0.0.CR7’. public static <T> T saveOrUpdate(T t){ T entity = DatabaseConfiguration.getSessionFactory() .withTransaction((session,tx) -> session.merge(t)) .toCompletableFuture().join(); return entity; }

javax.persistence.PersistenceException: org.hibernate.HibernateException: java.lang.RuntimeException: Unable to obtain MySQLClient.LAST_INSERTED_ID field

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@gavinking thanks sure will do that next time in reporting any new issue. Should have added the domain class when reporting this .