Skip to content

Conversation

@kuna
Copy link

@kuna kuna commented Nov 26, 2025

When maven classpath is resolved, it is being saved to internal DB cache for reuse. However when multiple entity is given, multiple DB records will be created at one transaction, and it is impossible as it contains auto-incremental ID column.

Solution is inserting the records in a batch transaction.

When maven classpath is resolved, it is being saved to internal DB cache for reuse. However when multiple entity is given, multiple DB records will be created at one transaction, and it is impossible as it contains auto-incremental ID column.

Solution is inserting the records in a batch transaction.
@github-actions github-actions bot added the dependency resolution Related to the project dependency/standard library resolver label Nov 26, 2025
@kuna
Copy link
Author

kuna commented Nov 26, 2025

Before the change, the transaction fails because the column id is not usable (not in the result set)

스크린샷 2025-11-26 141623

After fix it works saying Adding X files to class path

스크린샷 2025-11-26 155211

This fix will give much better supportability for whom using mvn-based repository.

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

Labels

dependency resolution Related to the project dependency/standard library resolver

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant