Derby dialect should nort support limits

Description

Derby does not support limits clause.
Thefore a query such as this

Query query = session.createQuery("from MyObjects");
query.setMaxResults(100);

would fail as it attempt to use db2's query limiting feature.

Fix would be to have derby dialect override supportLimits() and return true.

Environment

None

Assignee

Unassigned

Reporter

Kenneth Foo

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Configure