-
Notifications
You must be signed in to change notification settings - Fork 682
Kotlin lazy property identified as persistent entity #3112
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
Comments
Please provide a Minimimal Reproducable Example, preferable as a Github repository. Make sure to include the database, either as an in memory database or if that is not possible using Testcontainers. |
Thanks for quick reply. Here is the repository: https://github.com/maio/repro-jdbc-kotlin-lazy-embedded-problem.
|
Kotlin FWIW, here's the decompiled output:
|
For the time being, please annotate the delegated property with |
We now filter delegated properties (such as lazy) from being managed as persistent properties. Closes #3112
We now filter delegated properties (such as lazy) from being managed as persistent properties. Closes #3112
Hello,
first thanks for a great library!
I encountered following problem. I have a
Money
data class in Kotlin and when I try to use it in myDB entity as an
@Embedded
as follows:Then I get this error:
Am I doing something wrong?
PS: I'm using Spring Boot 3.2.5
Thanks,
Marian
The text was updated successfully, but these errors were encountered: