code: public void execute(String statement) throws SQLException {
  		if (logger.isDebugEnabled()) {
  			logger.debug("Executing SQL statement [" + statement + "]");
  		}
  		
  		Connection connection = null;
  		Statement stm = null;
  		
  		try{
  			connection = ds.getConnection();
  			stm = connection.createStatement();			
  			stm.execute(statement);
  		} catch (SQLException e) {
  			throw e;
  		}finally{
  			if(stm!=null) stm.close();
  			if(connection!=null) connection.close();			
  		}
  				
  	}
docs: Execute a statement.