Skip to content

Commit

Permalink
Foward porting to master: Using batch-fetch to load Obs and ObsGroup -
Browse files Browse the repository at this point in the history
TRUNK-4141 author:shruthidipali
  • Loading branch information
dkayiwa committed Nov 15, 2013
1 parent ce227b2 commit bbbd572
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -53,7 +53,7 @@
<one-to-many class="Order" />
</set>
<!-- bi-directional one-to-many association to Ob -->
<set name="obs" inverse="true" cascade="all" order-by="concept_id" access="field">
<set name="obs" inverse="true" cascade="all" order-by="concept_id" access="field" batch-size="25">
<key column="encounter_id" />
<one-to-many class="Obs" />
</set>
Expand Down
Expand Up @@ -70,7 +70,7 @@

<!-- one-to-many association to all obs in this grouping -->
<set name="groupMembers" inverse="true" cascade="all" order-by="obs_id"
access = "field">
access = "field" batch-size="25">
<key column="obs_group_id" />
<one-to-many class="Obs" />
</set>
Expand Down

0 comments on commit bbbd572

Please sign in to comment.