Ejemplo n.º 1
0
 /**
  * For DB queries the fetch size will be set on {@link java.sql.ResultSet#setFetchSize(int)}. This
  * is optional parameter, if not specified will be defaulted to {@link #DEFAULT_FETCH_SIZE}.
  */
 public int getFetchSize() {
   return getDialect() == DatabaseType.MYSQL ? Integer.MIN_VALUE : config.fetchSize();
 }
Ejemplo n.º 2
0
 /**
  * For DB queries the fetch size will be set on {@link java.sql.ResultSet#setFetchSize(int)}. This
  * is optional parameter, if not specified will be defaulted to {@link #DEFAULT_FETCH_SIZE}.
  */
 public int getFetchSize() {
   return config.fetchSize();
 }