Closed ForteScarlet closed 1 week ago
Both java and kotlin code have test cases like yours, for example, the kotlin test is here
And the entity type is declared here https://github.com/babyfish-ct/jimmer/blob/main/project/jimmer-sql-kotlin/src/test/kotlin/org/babyfish/jimmer/sql/kt/model/link/Student.kt
Like your test, 'deeperProp' is not specified.
All of them work fine, I cannot reproduce the issue, can you upload the minized reproducing package?
This is the project I used to test: jimmer-test.zip
Hope it helps.
Try 0.8.14
It seems to work well on 0.9.14
, thanks!
Hi! When I try to use
ManyToManyView
, I can't fetch the associated property without specifyingManyToManyView.deeperProp
, but in the documentation, it always reminds me that this attribute can be omitted.Here's what I used to reproduce:
schema and data
entites
the test
Console output:
The output data does not have
roles
in it and if I try to get roles I get anUnloadedException
.Then, I added the explicit
deeperProp
attribute toSystemAccount.roles
The test performs as expected.
Console output:
I don't know if it is due to bugs or because the documentation has not been updated in time?