code: public boolean isCloseOnCompletion() throws SQLException {
  	// used reflection to make sure this work with Java 5 and 6
  	try {
  	    return Caster.toBooleanValue(stat.getClass().getMethod("isCloseOnCompletion", new Class[0]).invoke(stat, new Object[0]));
  	}
  	catch (Throwable t) {
  	    ExceptionUtil.rethrowIfNecessary(t);
  	    if (t instanceof InvocationTargetException && ((InvocationTargetException) t).getTargetException() instanceof SQLException)
  		throw (SQLException) ((InvocationTargetException) t).getTargetException();
  	    throw new PageRuntimeException(Caster.toPageException(t));
  	}
      }
docs: used only with java 7, do not set @Override