1 : [123] - 2016-4-1218:37:28 2 : [123] - 2016-4-1218:37:28 3 : [123] - 2016-4-1218:37:28 4 : [123] - 2016-4-1218:37:48 5 : [123] - 2016-4-1218:37:48 6 : [123] - 2016-4-1218:37:48 7 : [123] - 2016-4-1218:38:08 8 : [123] - 2016-4-1218:38:08 9 : [123] - 2016-4-1218:38:08 java.sql.SQLException: Error accessing PooledConnection. Connection is invalid. at org.apache.ibatis.datasource.pooled.PooledConnection.checkConnection(PooledConnection.java:254) at org.apache.ibatis.datasource.pooled.PooledConnection.invoke(PooledConnection.java:243) at com.sun.proxy.$Proxy3.isClosed(Unknown Source) at TestMybatis.lambda$main$0(TestMybatis.java:29) at java.util.ArrayList.forEach(ArrayList.java:1249) at TestMybatis.main(TestMybatis.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) java.sql.SQLException: Error accessing PooledConnection. Connection is invalid. at org.apache.ibatis.datasource.pooled.PooledConnection.checkConnection(PooledConnection.java:254) at org.apache.ibatis.datasource.pooled.PooledConnection.invoke(PooledConnection.java:243) at com.sun.proxy.$Proxy3.isClosed(Unknown Source) at TestMybatis.lambda$main$0(TestMybatis.java:29) at java.util.ArrayList.forEach(ArrayList.java:1249) at TestMybatis.main(TestMybatis.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) java.sql.SQLException: Error accessing PooledConnection. Connection is invalid. at org.apache.ibatis.datasource.pooled.PooledConnection.checkConnection(PooledConnection.java:254) at org.apache.ibatis.datasource.pooled.PooledConnection.invoke(PooledConnection.java:243) at com.sun.proxy.$Proxy3.isClosed(Unknown Source) at TestMybatis.lambda$main$0(TestMybatis.java:29) at java.util.ArrayList.forEach(ArrayList.java:1249) at TestMybatis.main(TestMybatis.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) java.sql.SQLException: Error accessing PooledConnection. Connection is invalid. at org.apache.ibatis.datasource.pooled.PooledConnection.checkConnection(PooledConnection.java:254) at org.apache.ibatis.datasource.pooled.PooledConnection.invoke(PooledConnection.java:243) at com.sun.proxy.$Proxy3.isClosed(Unknown Source) at TestMybatis.lambda$main$0(TestMybatis.java:29) at java.util.ArrayList.forEach(ArrayList.java:1249) at TestMybatis.main(TestMybatis.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) java.sql.SQLException: Error accessing PooledConnection. Connection is invalid. at org.apache.ibatis.datasource.pooled.PooledConnection.checkConnection(PooledConnection.java:254) at org.apache.ibatis.datasource.pooled.PooledConnection.invoke(PooledConnection.java:243) at com.sun.proxy.$Proxy3.isClosed(Unknown Source) at TestMybatis.lambda$main$0(TestMybatis.java:29) at java.util.ArrayList.forEach(ArrayList.java:1249) at TestMybatis.main(TestMybatis.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) java.sql.SQLException: Error accessing PooledConnection. Connection is invalid. at org.apache.ibatis.datasource.pooled.PooledConnection.checkConnection(PooledConnection.java:254) at org.apache.ibatis.datasource.pooled.PooledConnection.invoke(PooledConnection.java:243) at com.sun.proxy.$Proxy3.isClosed(Unknown Source) at TestMybatis.lambda$main$0(TestMybatis.java:29) at java.util.ArrayList.forEach(ArrayList.java:1249) at TestMybatis.main(TestMybatis.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) false false false