-
Notifications
You must be signed in to change notification settings - Fork 90
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
Lazy one-to-one with Bytecode enhancement enabled doesn't work #1417
Comments
I've started to have a look at this issue, but something is still not working. I will have to get back to it later. But I don't know if it works as definitive fix. I've created a new module so that I could enable the bytecode enhancements. |
I think I have a fix. I will send a PR in a bit |
When using Bytecode Enhancements with a lazy bidirectional one-to-one, we have an error because we rerturn a CompletionStage instead of using the fetched object. This commit should fix the issue.
Additional module for testing using Hibenrate ORM Bytecode Enhancements The module uses the Hibernate Gradle plugin to enable the features. This is not an elegant solution and there is some duplicated code from the core module, but it beats not being able to test these use cases.
When using Bytecode Enhancements with a lazy bidirectional one-to-one, we have an error because we rerturn a CompletionStage instead of using the fetched object. This commit should fix the issue.
Additional module for testing using Hibenrate ORM Bytecode Enhancements The module uses the Hibernate Gradle plugin to enable the features. This is not an elegant solution and there is some duplicated code from the core module, but it beats not being able to test these use cases.
When using Bytecode Enhancements with a lazy bidirectional one-to-one, we have an error because we rerturn a CompletionStage instead of using the fetched object. This commit should fix the issue.
Additional module for testing using Hibenrate ORM Bytecode Enhancements The module uses the Hibernate Gradle plugin to enable the features. This is not an elegant solution and there is some duplicated code from the core module, but it beats not being able to test these use cases.
When using Bytecode Enhancements with a lazy bidirectional one-to-one, we have an error because we rerturn a CompletionStage instead of using the fetched object. This commit should fix the issue.
Additional module for testing using Hibenrate ORM Bytecode Enhancements The module uses the Hibernate Gradle plugin to enable the features. This is not an elegant solution and there is some duplicated code from the core module, but it beats not being able to test these use cases.
When using Bytecode Enhancements with a lazy bidirectional one-to-one, we have an error because we rerturn a CompletionStage instead of using the fetched object. This commit should fix the issue.
Additional module for testing using Hibenrate ORM Bytecode Enhancements The module uses the Hibernate Gradle plugin to enable the features. This is not an elegant solution and there is some duplicated code from the core module, but it beats not being able to test these use cases.
See quarkusio/quarkus#28975
Example:
Test for MutinyMain in examples:
Error:
We should also move these tests in the module
integration-tests
.The text was updated successfully, but these errors were encountered: