File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE hibernate-configuration PUBLIC
2
+ "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
3
+ "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
4
+
5
+ <hibernate-configuration >
6
+
7
+ <session-factory >
8
+
9
+ <!-- JDBC Database connection settings -->
10
+ <property name =" connection.driver_class" >com.mysql.cj.jdbc.Driver</property >
11
+ <property name =" connection.url" >jdbc:mysql://localhost:3306/login</property >
12
+ <property name =" connection.username" >root</property >
13
+ <property name =" connection.password" ></property >
14
+
15
+ <!-- JDBC connection pool settings ... using built-in test pool -->
16
+ <property name =" connection.pool_size" >1</property >
17
+
18
+ <!-- Select our SQL dialect -->
19
+ <property name =" dialect" >org.hibernate.dialect.MySQLDialect</property >
20
+
21
+ <!-- Echo the SQL to stdout -->
22
+ <property name =" show_sql" >true</property >
23
+
24
+ <!-- Set the current session context -->
25
+ <property name =" current_session_context_class" >thread</property >
26
+
27
+ </session-factory >
28
+
29
+ </hibernate-configuration >
You can’t perform that action at this time.
0 commit comments