mirror of https://github.com/apache/openjpa.git
removing unneeded method in OPENJPA-182 fix
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525602 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cf47647dcd
commit
db2a53ff2d
|
@ -294,24 +294,7 @@ public class DB2Dictionary
|
||||||
}
|
}
|
||||||
return forUpdateString.toString();
|
return forUpdateString.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Override the DBDictionary toSelect to call getOptimizeClause and append
|
|
||||||
* to the select string
|
|
||||||
*/
|
|
||||||
public SQLBuffer toSelect(SQLBuffer selects, JDBCFetchConfiguration fetch,
|
|
||||||
SQLBuffer from, SQLBuffer where, SQLBuffer group,
|
|
||||||
SQLBuffer having, SQLBuffer order,
|
|
||||||
boolean distinct, boolean forUpdate, long start, long end,
|
|
||||||
int expectedResultCount) {
|
|
||||||
String forUpdateString = getForUpdateClause(fetch,forUpdate);
|
|
||||||
SQLBuffer selString = toOperation(getSelectOperation(fetch),
|
|
||||||
selects, from, where,
|
|
||||||
group, having, order, distinct,
|
|
||||||
forUpdate, start, end,forUpdateString);
|
|
||||||
return selString;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isDB2UDBV82AndLater(DatabaseMetaData metadata, int maj,
|
public boolean isDB2UDBV82AndLater(DatabaseMetaData metadata, int maj,
|
||||||
int min) throws SQLException {
|
int min) throws SQLException {
|
||||||
boolean match = false;
|
boolean match = false;
|
||||||
|
|
Loading…
Reference in New Issue