This repository was archived by the owner on Jun 17, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-171
lines changed
java/org/hibernate/dialect Expand file tree Collapse file tree 4 files changed +11
-171
lines changed Original file line number Diff line number Diff line change 3333log /
3434target /*
3535/target
36-
37- # sqlite
38- * .db
Original file line number Diff line number Diff line change 99 <jersey-version >1.8</jersey-version >
1010 </properties >
1111 <dependencies >
12- <dependency >
13- <groupId >org.xerial</groupId >
14- <artifactId >sqlite-jdbc</artifactId >
15- <version >3.8.7</version >
16- </dependency >
1712 <dependency >
1813 <groupId >org.freemarker</groupId >
1914 <artifactId >freemarker</artifactId >
5651 <artifactId >hibernate-core</artifactId >
5752 <version >4.3.7.Final</version >
5853 </dependency >
54+ <dependency >
55+ <groupId >mysql</groupId >
56+ <artifactId >mysql-connector-java</artifactId >
57+ <version >5.1.34</version >
58+ </dependency >
5959 <dependency >
6060 <groupId >org.apache.logging.log4j</groupId >
6161 <artifactId >log4j-web</artifactId >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44 "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
55<hibernate-configuration >
66 <session-factory >
7- <!-- SQL dialect -->
8- <property name =" dialect" >org.hibernate.dialect.SQLiteDialect</property >
9-
10- <property name =" connection.driver_class" >org.sqlite.JDBC</property >
11- <property name =" connection.url" >jdbc:sqlite:src/main/resources/csarrepo.db</property >
12- <property name =" connection.username" ></property >
7+ <property name =" connection.driver_class" >com.mysql.jdbc.Driver</property >
8+ <property name =" connection.url" >jdbc:mysql://localhost/testrepo?useTimezone=true& serverTimezone=UTC</property >
9+ <property name =" connection.username" >root</property >
1310 <property name =" connection.password" ></property >
1411
12+ <!-- SQL dialect -->
13+ <property name =" dialect" >org.hibernate.dialect.MySQLDialect</property >
14+
1515 <!-- Enable Hibernate's automatic session context management -->
1616 <property name =" current_session_context_class" >thread</property >
1717 <property name =" hibernate.hbm2ddl.auto" >update</property >
You can’t perform that action at this time.
0 commit comments