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