Complications arising when QBE ignores ID fields

Description

Hibernate QBE ignores ID fields. In tables composed of composite IDs (in our case it was Middlegen generating from VIEWs), any values set in the example will be ignored as if it were a primary ID. The users example WHERE statement becomes WHERE(1=1), even if a value had been set on all fields.

The ignoring of ID fields makes sense for simple primary keys, but composite IDs create surprises.

Environment

Working in Windows XP, using Oracle bio10g

Assignee

Unassigned

Reporter

Robert Hinman

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

Priority

Minor
Configure