<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<hibernate-configuration>
 <session-factory>
  <!-- You have to provide a current Microsoft JDBC Driver. -->
  <property name="jakarta.persistence.jdbc.driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
  <property name="jakarta.persistence.jdbc.url">jdbc:sqlserver://localhost:1433;integratedSecurity=true;sendStringParametersAsUnicode=true;selectMethod=cursor;databaseName=scheduler</property>
  <property name="jakarta.persistence.jdbc.user"></property>
  <property name="jakarta.persistence.jdbc.password"></property>
  <property name="hibernate.show_sql">false</property>
  <property name="hibernate.format_sql">true</property>
  
  <!-- Hikari Connection Pool -->
  <property name="hibernate.connection.provider_class">org.hibernate.hikaricp.internal.HikariCPConnectionProvider</property>
  <property name="hibernate.hikari.maximumPoolSize">10</property>
 </session-factory>
</hibernate-configuration>
