- 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:
parent
0b02e8d71f
commit
d182cff828
|
@ -1110,12 +1110,12 @@ public class DB_Oracle implements AdempiereDatabase
|
||||||
}
|
}
|
||||||
|
|
||||||
public String addPagingSQL(String sql, int start, int end) {
|
public String addPagingSQL(String sql, int start, int end) {
|
||||||
String newSql = "SELECT * FROM (" + sql + ") WHERE ROWNUM BETWEEN " + start + " AND " + end;
|
//not supported, too many corner case that doesn't work using rownum. to investigate later
|
||||||
return newSql;
|
return sql;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPagingSupported() {
|
public boolean isPagingSupported() {
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // DB_Oracle
|
} // DB_Oracle
|
||||||
|
|
Loading…
Reference in New Issue