- turn off use of database paging for oracle, the current solution is not reliable enough

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2913975
This commit is contained in:
Heng Sin Low 2009-12-31 06:54:07 +00:00
parent 0b02e8d71f
commit d182cff828
1 changed files with 3 additions and 3 deletions

View File

@ -1110,12 +1110,12 @@ public class DB_Oracle implements AdempiereDatabase
}
public String addPagingSQL(String sql, int start, int end) {
String newSql = "SELECT * FROM (" + sql + ") WHERE ROWNUM BETWEEN " + start + " AND " + end;
return newSql;
//not supported, too many corner case that doesn't work using rownum. to investigate later
return sql;
}
public boolean isPagingSupported() {
return true;
return false;
}
} // DB_Oracle