rzo1 opened a new pull request, #201: URL: https://github.com/apache/openjpa/pull/201
As required by Jakarta Persistence 3.2 an `AttributeConverter` is now consulted for `null` in both directions; previously a null attribute or a null column value bypassed it, so a converter mapping `null` to a column default was never applied. Queries are deliberately unaffected: a `null` in a query still means SQL `NULL` and is never passed through the converter, so `IS NULL` and null parameters keep their previous meaning. Converter implementations must therefore be null-safe — the bundled test converters were not and are fixed — and the migration guide documents both the requirement and the change in stored data; the CDI and direct-cast questions from the review are answered in comments, since the kernel has neither a container hook nor the `jakarta.persistence` dependency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
