Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.2.1
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:None
-
Environment:FLOW3 Package
Description
The entity persister creates a sql query like SELECT 1 FROM table t0 WHERE t1.id = ?1 when trying to verify a subclass object exists in the database.
This cannot work as t1 from the where clause is not defined. Our particular case was with joined table inheritance.
Attached patch fixes the issue for us.
Issue Links
- is duplicated by
-
DDC-1841
Problem in the generation QUERY
-
I can't reproduce this. Can you provide the mapping details?