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

Kotlin enum is not working as query param [DATAJDBC-501] #725

Closed
spring-projects-issues opened this issue Mar 4, 2020 · 3 comments
Closed
Assignees
Labels
status: duplicate A duplicate of another issue type: bug A general bug

Comments

@spring-projects-issues
Copy link

umut erturk opened DATAJDBC-501 and commented

Kotlin enum as the query param is not working.

when this line runs I get an exception message:

Caused by: org.h2.jdbc.JdbcSQLDataException: Hexadecimal string with odd number of characters: "RUNNING"; SQL statement...

 

You can reproduce the case from given branch in the Reference URL


Reference URL: https://github.com/tirbison/spring-data-jdbc-kotlin/tree/bug/reproduce/enum-query-param

@spring-projects-issues
Copy link
Author

Jens Schauder commented

Could you try that with the curren 2.0 snapshot? This might be a duplicate of https://jira.spring.io/browse/DATAJDBC-464

@spring-projects-issues
Copy link
Author

umut erturk commented

Jens Schauder I would love to but I am using org.springframework.boot:spring-boot-starter-data-jdbc not sure how to use 2.0 with that

@schauder
Copy link
Contributor

This was fixed by #1212

@schauder schauder closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants