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

named binding is not supported #97

Closed
hhtower opened this issue Sep 16, 2023 · 5 comments · Fixed by #99
Closed

named binding is not supported #97

hhtower opened this issue Sep 16, 2023 · 5 comments · Fixed by #99

Comments

@hhtower
Copy link

hhtower commented Sep 16, 2023

when i query then error
"
java.lang.UnsupportedOperationException: named binding is not supported by jasync driver ?=In{Inferred: java.lang.Long}
at com.github.jasync.r2dbc.mysql.JasyncStatement.bind(JasyncStatement.kt:65)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException.
"

use:
spring boot 3.1.3
jasync-r2dbc-mysql 2.2.4
infobip-spring-data-r2dbc-querydsl-boot-starter 9.0.2

ex:
Flux actual = repository.query(query -> query.select(repository.entityProjection())
.from(person)
.where(person.firstName.in("John", "Jane"))
.orderBy(person.firstName.asc(),
person.lastName.asc())
.limit(1)
.offset(1))
.all();

@hhtower
Copy link
Author

hhtower commented Sep 17, 2023

but infobip-spring-data-r2dbc-querydsl-boot-starter 8.1.2 is ok

@mycroft11
Copy link

A similar error is thrown when using asyncer-mysql,

java.util.NoSuchElementException: No such parameter with name: ? at io.asyncer.r2dbc.mysql.ParametrizedStatementSupport.getIndexes(ParametrizedStatementSupport.java:138) ~[r2dbc-mysql-1.0.3.jar:1.0.3]

@lpandzic
Copy link
Member

I need to add support for this, until then the only compatible version is 8.1.2 or prior.

@mdm-hub
Copy link

mdm-hub commented Mar 5, 2024

Any estimate on when will this be fixed?

@lpandzic lpandzic mentioned this issue Mar 12, 2024
@lpandzic
Copy link
Member

Fixed in 9.0.7.

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

Successfully merging a pull request may close this issue.

4 participants