Hello. Hibernate produces wrong SQL for H2 because H2IdentityColumnSupport.getIdentityInsertString() incorrectly returns "null" instead of "default" for a some historic reason. `getIdentitySelectString() also needs to be updated.
There is a workaround described in another thread, but actually the whole H2Dialect may need to be reviewed to support H2 2.0 properly. Bugtracker of Hibernate ORM is here: https://hibernate.atlassian.net/browse/HHH -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/d460e788-6bec-4238-bcc7-4e261e8599b4n%40googlegroups.com.
