This method is used by the application to close an open connection to a database server @param conn The connection to close
(Connection conn)
| 34 | * @param conn The connection to close |
| 35 | */ |
| 36 | public static void closeConnection(Connection conn) |
| 37 | { |
| 38 | try |
| 39 | { |
| 40 | //log.debug("Closing database connection"); |
| 41 | conn.close(); |
| 42 | } |
| 43 | catch(Exception e) |
| 44 | { |
| 45 | log.error("Error closing connection:" + e.toString()); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | /** |
| 50 | * This method is used by the application to get a connection to the secure database sever based on the input path to a specific properties file. |
no outgoing calls