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
-
Activity
Benjamin Eberlei
made changes -
Benjamin Eberlei
made changes -
| Workflow | jira [ 13631 ] | jira-feedback [ 14050 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 14050 ] | jira-feedback2 [ 15914 ] |
Alexander
made changes -
| Status | Open [ 1 ] | Awaiting Testcase/Feedback [ 10000 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 15914 ] | jira-feedback3 [ 18206 ] |
Benjamin Eberlei
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Cannot Reproduce [ 5 ] |