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