Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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">com.mysql.cj.jdbc.Driver</property>
- <property name="connection.url">jdbc:mysql://127.0.0.2:3306/got?useSSL=false&serverTimezone=UTC</property>
- <property name="connection.username">user</property>
- <property name="connection.password">password</property>
- <!-- JDBC connection pool settings ... using built-in test pool -->
- <property name="connection.pool_size">1</property>
- <!-- Select our SQL dialect -->
- <property name="dialect">org.hibernate.dialect.MySQLDialect</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>
- </session-factory>
- </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement