R2dbc features are unavailable #1035
-
I have a table class with a ByteArray parameter like this:
If I try
Then it throws an exception
build.gradle.kts
How do I fix it? |
Beta Was this translation helpful? Give feedback.
Answered by
nakamura-to
Aug 11, 2023
Replies: 2 comments
-
I'm sorry I didn't notice this post. Use val query = QueryDsl.executeScript("create table imagefile (id integer not null, data varbinary(500), constraint imagefile primary key(id))")
db.runQuery(query)
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
x2d7751347m
-
I got it. Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm sorry I didn't notice this post.
I think this is a bug in Komapper.
I will fix it in the next release.
Use
varbinary
instead ofbytea
in your DDL script.