We need to update the hibernate.cfg.xml file to use the Regatta Hibernate dialect and make it available for the application. You may add additional config parameters if needed.

<!DOCTYPE hibernate-configuration PUBLIC
 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
 "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
 <session-factory>
 <!-- JDBC Database connection settings -->
 <property name="connection.driver_class">dev.regatta.jdbc.RegDriver</property>
 <property name="connection.url">jdbc:regatta:192.168.225.100:5010</property>
 <property name="connection.username">admin</property>
 <property name="connection.password">RegattaDefault1234!</property>
 <!-- JDBC connection pool settings ... using built-in test pool -->
 <property name="connection.pool_size">1</property>
 <!-- Select our SQL dialect -->
 <property name="dialect">dev.regatta.hibernate.RegattaDialect</property>
 <!-- Echo the SQL to stdout -->
 <property name="show_sql">true</property>
 <!-- Set the current session context -->
 <property name="current_session_context_class">thread</property>
 <!-- Update the database schema on startup -->
 <property name="hbm2ddl.auto">create</property>
 <property name="devices_index">m3d0</property>
 </session-factory>
</hibernate-configuration>