In hbm.xml file:
Using the criteria:
Generates the query:
where not exists (select 1 from CONTEXT_REFERENCE_RELS where this_.ID_XXX=ID_XXX)
SOURCE_SCREEN_NAME='Issue' is not generated!
3.1.2 against MySQL 5.0 and Oracle 9i
We want to come up with a fix for this problem. Can someone from the Hibernate team point us to the right place in the Hibernate code?
Dear Hiernate developers,
I am a developer working for Vladimir above and tried to fix this bug a few days ago.
I will attach patch files created by WinMerge.
As you see I made an additional access method on OneToManyPersister.java that can be a 'hack' and a propery way should may exists through existing methods but I did not look into details... So if you could check this point then it would become safer although I can not see any situations that may give a wrong String for this case.
If this is still an issue on ORM 4.2 or 4.3, anyone have a test case to attach?
Note: In an attempt to clean up the HHH JIRA, we will be rejecting any ticket that sits in the "Awaiting Test Case" state for 2-3 months with no response. So, if this issue is critical to you, please attach a reproducing test case ASAP. Thanks!
Bulk rejecting issues lacking a test case or recent response.