When I added this dialect to my pom and tried to launch my app i caught this exception:
org.hibernate.HibernateException: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided)
I tried specifying hibernate.dialect property to com.github.pelenthium.spring.dialect.ClickhouseDialect, but caught
java.lang.IllegalAccessException: class org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl cannot access a member of class com.github.pelenthium.spring.dialect.ClickhouseDialect with modifiers "private"
at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392) ~[na:na]
at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674) ~[na:na]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:489) ~[na:na]
at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) ~[na:na]
at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) ~[na:na]
at java.base/java.lang.Class.newInstance(Class.java:645) ~[na:na]
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.lambda$constructDialect$0(DialectFactoryImpl.java:139) ~[hibernate-core-6.5.2.Final.jar:6.5.2.Final]
... 40 common frames omitted
When I added this dialect to my pom and tried to launch my app i caught this exception:
org.hibernate.HibernateException: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided)
I tried specifyinghibernate.dialect
property tocom.github.pelenthium.spring.dialect.ClickhouseDialect
, but caughtjava.lang.IllegalAccessException: class org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl cannot access a member of class com.github.pelenthium.spring.dialect.ClickhouseDialect with modifiers "private" at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392) ~[na:na] at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674) ~[na:na] at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:489) ~[na:na] at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) ~[na:na] at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) ~[na:na] at java.base/java.lang.Class.newInstance(Class.java:645) ~[na:na] at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.lambda$constructDialect$0(DialectFactoryImpl.java:139) ~[hibernate-core-6.5.2.Final.jar:6.5.2.Final] ... 40 common frames omitted