Advertisement
jochem4207

Untitled

Nov 21st, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.31 KB | None | 0 0
  1.   public boolean isConnected() {
  2.         boolean result = false;
  3.         try {
  4.             DbConnection dbConnect = new DbConnection();
  5.             result = dbConnect.isConnected();
  6.         } catch (SQLException e) {
  7.             System.out.print("failure" + e.getMessage());
  8.         }
  9.         return result;
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement