From 836263eb9aae65fed97a5248d60ab686dd69d34c Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Fri, 22 Dec 2023 10:23:25 +0100 Subject: [PATCH] Fix test on CockroachDB by not using identity generator --- .../org/hibernate/orm/test/proxy/ProxyWithGenericsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/proxy/ProxyWithGenericsTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/proxy/ProxyWithGenericsTest.java index ca88a2dd25..2f0321eb5b 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/proxy/ProxyWithGenericsTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/proxy/ProxyWithGenericsTest.java @@ -114,7 +114,7 @@ public class ProxyWithGenericsTest { @Access(AccessType.FIELD) public static abstract class AbstractEntityImpl { @Id - @GeneratedValue(strategy = GenerationType.IDENTITY) + @GeneratedValue @Column(name = "ID") Long id; }