Using MariaDB, Hibernate looks for Squences still

59 views
Skip to first unread message

Holger

unread,
Aug 4, 2023, 4:36:31 AM8/4/23
to WildFly
Hi,
this is probably a setting i'm missing somewhere, but i hope someone can point me to it.
When collecting results the collections are fully initialized, but when it then tries to select the next value it tries to use a [entityName]_seq table which does not exist.

I am looking for a way to either:
1) disregard Sequence and just use the mySQL/Maria autoincrement IDs
2) make it generate the needed sequence tables

So far i had succes with neither.
Hibernate settings from persistence.xml:


         <property name="hibernate.show_sql" value="false" />
         <property name="hibernate.jpa.compliance.query" value="false"/>
 <property name="hibernate.jpa.compliance.global_id_generators" value="false"/>
         <property name="hibernate.id.new_generator_mappings" value="true"/>
         <property name="hibernate.hbm2ddl.auto" value="update"/>
         <property name="hibernate.dialect" value="org.hibernate.dialect.MariaDBDialect"/>

Any pointers would be appreciated.
Reply all
Reply to author
Forward
0 new messages