|
@@ -155,9 +155,9 @@ public abstract class BaseServiceImpl<PK extends Serializable, T> implements Bas
|
|
|
if(ps!=null){
|
|
|
ps.close();
|
|
|
}
|
|
|
- if(null!=connection){
|
|
|
- connection.close();
|
|
|
- }
|
|
|
+// if(null!=connection){
|
|
|
+// connection.close();
|
|
|
+// }
|
|
|
if(sqlSession!=null){
|
|
|
sqlSession.close();
|
|
|
}
|
|
@@ -220,9 +220,9 @@ public abstract class BaseServiceImpl<PK extends Serializable, T> implements Bas
|
|
|
if(ps!=null){
|
|
|
ps.close();
|
|
|
}
|
|
|
- if(null!=connection){
|
|
|
- connection.close();
|
|
|
- }
|
|
|
+// if(null!=connection){
|
|
|
+// connection.close();
|
|
|
+// }
|
|
|
if(sqlSession!=null){
|
|
|
sqlSession.close();
|
|
|
}
|
|
@@ -255,9 +255,9 @@ public abstract class BaseServiceImpl<PK extends Serializable, T> implements Bas
|
|
|
if(ps!=null){
|
|
|
ps.close();
|
|
|
}
|
|
|
- if(null!=connection){
|
|
|
- connection.close();
|
|
|
- }
|
|
|
+// if(null!=connection){
|
|
|
+// connection.close();
|
|
|
+// }
|
|
|
if(sqlSession!=null){
|
|
|
sqlSession.close();
|
|
|
}
|