public void freeResult(ResultSet result) {
		
		try {
			
			if (result != null) {
				result.close();
				result = null;
			}
			
			if (m_statement != null) {
				Connection connection = m_statement.getConnection();
				m_statement.close();
				connection.close();
				m_statement = null;
				connection = null;				
			}			
			
		} catch(SQLException e) {
			e.printStackTrace();
		}
		
	}