summaryrefslogtreecommitdiffstats
path: root/java/MyMyBatis/src/SqlConnection.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-03-24 12:04:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-03-24 12:04:14 +0100
commit1fa4cec10b4b29c622a89e7f94f4e5269fd644a1 (patch)
tree8a3ae0d06bf96df30fc9aad8c9d16362342b732b /java/MyMyBatis/src/SqlConnection.java
parent724efad67fe61d2c02c41af24ebc352eb79ff2f8 (diff)
downloadshare-1fa4cec10b4b29c622a89e7f94f4e5269fd644a1.zip
share-1fa4cec10b4b29c622a89e7f94f4e5269fd644a1.tar.gz
java : MyMyBatis : minor cleanups
Diffstat (limited to 'java/MyMyBatis/src/SqlConnection.java')
-rw-r--r--java/MyMyBatis/src/SqlConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/MyMyBatis/src/SqlConnection.java b/java/MyMyBatis/src/SqlConnection.java
index 57f2ea5..2382e2e 100644
--- a/java/MyMyBatis/src/SqlConnection.java
+++ b/java/MyMyBatis/src/SqlConnection.java
@@ -27,7 +27,7 @@ public class SqlConnection
public SqlConnection()
{
- this.logger = logger = LoggerFactory.getLogger(Main.class);
+ this.logger = LoggerFactory.getLogger(this.getClass());
PooledDataSource ds = new PooledDataSource("org.hsqldb.jdbcDriver", "jdbc:hsqldb:mem:test;sql.syntax_pgs=true;check_props=true", "username", "password");
ds.setDefaultAutoCommit(false);
// ds.setPoolMaximumActiveConnections();