From 1d87caf126ceed60f7d9a7c213bb7e377515c5eb Mon Sep 17 00:00:00 2001 From: seagull1985 Date: Wed, 15 Nov 2017 16:51:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/hibernate.cfg.xml | 74 ++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 src/main/resources/hibernate.cfg.xml diff --git a/src/main/resources/hibernate.cfg.xml b/src/main/resources/hibernate.cfg.xml new file mode 100644 index 0000000..1fbf1fd --- /dev/null +++ b/src/main/resources/hibernate.cfg.xml @@ -0,0 +1,74 @@ + + + + + + + com.mysql.cj.jdbc.Driver + + jdbc:mysql://XX.XX.XX.XX:3306/luckyframedb?useUnicode=true&characterEncoding=utf8&useSSL=false + true + utf-8 + + luckyframe + + luckyframe + + org.hibernate.connection.C3P0ConnectionProvider + + 50 + + 50 + + 10 + + 1800 + + 20 + 30 + 10 + true + SELECT 1 + true + false + true + + org.hibernate.dialect.MySQLInnoDBDialect + + update + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file