Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean hasConnection(){
- try {
- return this.conn != null || this.conn.isValid(1);
- } catch (SQLException e) {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement