spring-boot-starter icon indicating copy to clipboard operation
spring-boot-starter copied to clipboard

Mapping error for some types ORA-03115

Open matndev opened this issue 1 year ago • 1 comments
trafficstars

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.

matndev avatar Jan 04 '24 09:01 matndev

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.

harawata avatar Jan 04 '24 09:01 harawata