Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of custom codec registration #178

Open
rchigvintsev opened this issue Nov 24, 2020 · 4 comments
Open

Add support of custom codec registration #178

rchigvintsev opened this issue Nov 24, 2020 · 4 comments

Comments

@rchigvintsev
Copy link

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 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.

@alpeshvas
Copy link

Any plan on this?

@alpeshvas
Copy link

alpeshvas commented Jul 10, 2022

@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.

@lukaseder
Copy link
Contributor

I'm the wrong guy to ask here

@alpeshvas
Copy link

alpeshvas commented Jul 11, 2022

I'm the wrong guy to ask here
Okay, tagging original authors of the file

@nebhale @gregturn

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

No branches or pull requests

3 participants