|@AdditionalCriteria breaks on @LOB updates [message #1080695]
||Tue, 06 August 2013 09:18
| Neikius Mising name
Registered: April 2011
I have set @AdditionalCriteria for soft delete over all my @Entity objects.|
The soft-delete column is a Boolean in model with a converter from "Y" "N" value in DB (oracle).
@AdditionalCriteria("this.deleted = false") works most of the time and gets mapped to deleted = 'N'
When I try to write lob's I can see that it inserts deleted = 0 instead of the proper value hence I am supposing Eclipselink is not doing the correct mapping whenever you do operations on entities with attributes stored as LOB's. AT least that is the pattern I have observed so far.
I am using 2.4.2 which is also the latest version by date, any chance this is working as intended in 2.5? I know I can file a bug, but this project will be due long before I get it fixed either by myself or by someone else... any recommendations? Besides doing it manually, I know about that one.
[Updated on: Tue, 06 August 2013 09:18]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02056 seconds