Environment
SpringBoot: 3.0.2 Spring Data jpa MySql 8.x
application.yml
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
username: username
password: password
type: com.zaxxer.hikari.HikariDataSource
hikari:
minimum-idle: 5
maximum-pool-size: 15
auto-commit: true
idle-timeout: 30000
pool-name: DatebookHikariCP
max-lifetime: 1800000
connection-timeout: 30000
connection-test-query: SELECT 1
- Question
-
The same code. It gets the right result when using the command of "java -jar ". But it gets the fault result when running as native ways. As follows
-
When using both chinese and number it gets an error.
Comment From: snicoll
@w858269620 we don't use the issue tracker for questions. I understand that you have a difference of behavior when running your application as a native image. It's impossible for us to tell what could be wrong based on the information that you've shared.
If you want support, please share a small sample that reproduces the problem. You can do so by sharing a link to a GitHub repository, or attaching a zip to this issue with the project.
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.