public static void closeConnection(Connection con) {
		
		if (con != null) {
			try {
				con.close();
			}
			catch (SQLException e) {
				throw new RuntimeException(e.getSQLState() 
										+ "\nCaused by\n"
										+ e.getCause(), e);
			}
			finally {
				try {
					con.close();
				} catch (SQLException e) {
					throw new RuntimeException(e.getSQLState() 
						+ "\nCaused by\n"
						+ e.getCause(), e);
				}
			}
		}
	}