Closed stainlessbot closed 4 years ago
➤ Joshua Carter commented:
This is mostly working on develop; however, the same hibernate lazy initialization problem happens with the repositories as happens with the dynamic finders in MJ-2 (this is likely a problem that applies to all entities, gorm or javax, so therefore likely MJ-16 as well).
➤ Joshua Carter commented:
From what I can tell, lazy initialization is not supported in Micronaut, so any repos with queries for domains with collections that need to be fetched need to specify a join query (using @EntityMap for example).
In the same way that GORM entities can be accessed and used in Jupyter scripts (MJ-2), Micronaut Data repositories should also be available to scripts. These are made available in Micronaut as Spring beans, so MJ-3 will have to be completed at a minimum for this to work. Additional work may also be required.
┆Issue Type: Story ┆Priority: Medium ┆Status: Resolved ┆Fix Versions: v0.2.0 ┆Issue Number: MJ-7 ┆Epic: Kernel