Skip to content

Commit

Permalink
Change lazy=extra to true in CompositeAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
sprevilla committed Jan 29, 2020
1 parent c5d897e commit 3de6c1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</property>
<many-to-one name="parent" not-null="false" cascade="evict" foreign-key="FKAccountParent" lazy="false"/>
<subclass name="org.jpos.gl.CompositeAccount" discriminator-value="C">
<set name="children" cascade="all-delete-orphan,evict" sort="natural" lazy="extra" inverse="true" batch-size="0">
<set name="children" cascade="all-delete-orphan,evict" sort="natural" lazy="true" inverse="true" batch-size="0">
<key column="parent" />
<!-- index column="posn" / -->
<one-to-many class="org.jpos.gl.Account" />
Expand Down

0 comments on commit 3de6c1d

Please sign in to comment.