Skip to content

Conversation

@pardhiv-krishna
Copy link
Contributor

This PR fixes NPE when handling empty CLOB values on Oracle 21c/23c databases.
Fixes #2601

Copy link
Contributor

@rfelcman rfelcman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing there some unit test like most of the other functionality fixes.

@pardhiv-krishna
Copy link
Contributor Author

pardhiv-krishna commented Dec 19, 2025

@rfelcman I think there are already few tests in TestOracleLOBLocatorFeature.java testing this functionality in Oracle DB. I tried modifying the tests there so as to fail before fix and pass after fix. But all are passing — It is throwing no exception even before the fix.
The main problem is that the issue only occurs when using JTA transaction and not in RESOURCE_LOCAL transactions. It seems tests within TestOracleLOBLocatorFeature.java is using RESOURCE_LOCAL. What can be done in this case? Could you please provide your thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants