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

Spring Boot Native compatibility #226

Open
klopfdreh opened this issue Jul 24, 2024 · 0 comments
Open

Spring Boot Native compatibility #226

klopfdreh opened this issue Jul 24, 2024 · 0 comments

Comments

@klopfdreh
Copy link

Is your feature request related to a problem? Please describe.
We are using Spring Cloud Data Flow / Spring Batch and a lot of task application which requires a fast startup time to perform their work. With Spring Boot Native we saw a performance improvement to 6,5 seconds compared to previous 17,5 seconds at startup time.

For this test we had to remove Atomikos Transaction Management as our test task application was not relying on Atomikos but others do (the reason for this ticket).

Describe the solution you'd like
N/A

Describe alternatives you've considered
N/A

Additional context
We tested to native compile the application with Liberica NIK and the compilation just worked fine. During the startup time (runtime) however there was an ClassNotFoundException that oracle.jdbc.xa.client.OracleXADataSource was not found. We also tested with h2 in which case org.h2.jdbcx.JdbcDataSource was not found. Maybe it is regarding a missing @NestedConfigurationProperty.

After this we switch to default datasources of Spring Boot e.g. spring.datasource.* which was working just fine with both implementations.

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

No branches or pull requests

1 participant