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

Mapping error for some types ORA-03115 #936

Open
matndev opened this issue Jan 4, 2024 · 1 comment
Open

Mapping error for some types ORA-03115 #936

matndev opened this issue Jan 4, 2024 · 1 comment

Comments

@matndev
Copy link

matndev commented Jan 4, 2024

Since I upgrade the jdk version to 21 some types are not mapped anymore with default handlers as Boolean, or Date.

 "Cause: java.sql.SQLException: ORA-03115: Unsupported data type or representation was received from remote connection"
### The error may exist in file [C:\ .mapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters

Java version : 21
Spring boot : 3.2.1
Mybatis : 3.0.1 to 3.0.3 (upgrade)

All was working great with java 17 and mybatis 3.0.1.

@harawata
Copy link
Member

harawata commented Jan 4, 2024

Hello @matndev ,

To investigate, we need to reproduce the problem first.
Please create a demo project that reproduces the exception with minimum set of classes/tables/columns and share it on your GitHub repo.
Here are some project templates and examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants