解决反复插入info问题
This commit is contained in:
@@ -52,10 +52,10 @@ public class githubDao {
|
||||
}else{
|
||||
return back;
|
||||
}
|
||||
JdbcUtils.closeConnection(rs,prep,conn);
|
||||
return back;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
||||
} finally {
|
||||
JdbcUtils.closeConnection(preparedStatement, connection);
|
||||
}
|
||||
|
Reference in New Issue
Block a user