Stefan V

Results 5 comments of Stefan V

Using the latest RC unfortunately does not help. Generating the childs-id on the database works, but that would be a workaround. In my understanding an existing Id should only be...

Assigning the id manually and persisting works for the parent entity, but the child entity does not get persisted, i.e. the @Relation-Relation.Cascade.ALL is ignored/not functional. I can of course manually...

Yes, i know. I think it should also work for the less common use-case of already existing ids. I understand that this is probably not trivial to implement. Currently it's...

@dstepanov: I tried using micronaut-data-processor:3.10.0, but the problem still exists. It's not a runtime problem, it's a code generation problem. The referenced example application (https://github.com/StefanSrf/micronaut-3-8-repository-bug) easily reproduces the compile-issue.

@graemerocher thanks for the hint. The BeanCreatedEventListener approach is more elegant. Unfortunately the problem remains the same. I updated the example application. null values still appear in non-null-lists.