I am porting an application from WildFly and I am having trouble with hibernate not picking up my sequence names. After investigating I figured out that this was because Hibernate cannot detect use_get_generated_keys support at build time, so it now defaults to false and there is no way to set it without using persistence.xml
Thanks for your help in advance!
/cc @gsmet, @Sanne
Want to provide a Pull-Request supporting this feature? Unless @Sanne or @gsmet objects against it, it should be similar to https://github.com/quarkusio/quarkus/commit/f9a75ce6738d18c5713dbc7f255afd2b15342a70 AFAIK
hi @jw941 , could you list which JDBC driver you're using?
I would love to see if we can automatically infer the optimal setting, without needing to expose the property.
Hi @Sanne
We are using org.postgresql.postgresql-42.2.9.jar
I agree that this should be automatic. We shouldn't expose such legacy settings.
@Sanne @gavinking could we consider that one for the next 5.4 release train?
@yrodiere is volunteering to have a look at automating this.
Most helpful comment
I agree that this should be automatic. We shouldn't expose such legacy settings.