helidon
helidon copied to clipboard
Fix serial-config.properties for io.helidon.integrations.db:ojdbc and ensure consistent use
For background see issue #7000, especially the comment from Tomas.
The serial-config.properties for io.helidon.integrations.db:ojdbc is incomplete. Plus we are inconsistent in our use of io.helidon.integrations.db:ojdbc vs com.oracle.database.jdbc:ojdbc8-production and handling of serial-config.properties.
To clean this up we need to:
- Fix
integrations/db/ojdbc/src/main/resources/META-INF/helidon/serial-config.propertiesso that it contains:pattern=oracle.sql.converter.*;oracle.i18n.text.converter.* - Check all examples and archetypes and make sure they depend on
io.helidon.integrations.db:ojdbcinstead of depending oncom.oracle.database.jdbc:ojdbc8-production. Removeserial-config.propertiesfrom these examples and archetypes (since it is picked up from the Helidon ojdbc integration). - Ensure integration with Oracle DB and proper use of
io.helidon.integrations.db:ojdbcand what it provides and possible issues concerning deserialization is documented
We have already prepared JEP-209 troubleshooting section for serialization filter doc as part of WLS integration documentation:
Fix didn't make it to 4.x https://github.com/helidon-io/helidon/blob/be27e3007b59f39531ed0c2e48aee4178141b525/integrations/db/ojdbc/src/main/resources/META-INF/helidon/serial-config.properties#L17