|
Attaching fix for the bug as patch 2a.
The problem is solved by explicitly telling the SQLCLob data object whether the database being accessed is accessed in soft upgrade mode or not. This information is readily available in EmbedPreparedStatement. I chose to determine the mode lazily, so the method (isSoftUpgraded) should be used instead of referencing the variable directly. Running regression tests. Patch ready for review. Regression tests passed.
I'm marking this issue as Urgent as it seems to be triggered with default configuration using Derby with Hibernate (and Clobs in the table of course). It is also a regression, introduced through the new Clob header format code.
Finally, the bug was reported by a user. User reported that his application ran successfully with the fix applied (see the thread from the issue description).
Committed patches 1a and 2a to trunk with revision 790135. Awaiting test results before back-porting to 10.5. Merged fix (patches 1a and 2a) to 10.5 with revision 791403.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The patch must be committed together with the fix.