You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use simple custom codec to map Java enumeration name to VARCHAR in case of PostgreSQL database. I register it with implementation of io.r2dbc.postgresql.extension.CodecRegistrar. When I use H2 in-memory database to perform integration testing it is not possible to register the similar codec as easy as for PostgresSQL.
Solution
Maybe it would be nice to migrate extension mechanism from r2dbc-postgresql repository to this project.
The text was updated successfully, but these errors were encountered:
@lukaseder Could we change visibility (currently it's package protected) of AbstractCodec ? So that we can implement custom codecs and provide them through H2ConnectionFactoryProvider. Adding registrar support could take time.
Feature Request
Problem
I use simple custom codec to map Java enumeration name to
VARCHAR
in case of PostgreSQL database. I register it with implementation ofio.r2dbc.postgresql.extension.CodecRegistrar
. When I use H2 in-memory database to perform integration testing it is not possible to register the similar codec as easy as for PostgresSQL.Solution
Maybe it would be nice to migrate extension mechanism from r2dbc-postgresql repository to this project.
The text was updated successfully, but these errors were encountered: