Skip to content

Commit

Permalink
define categoryMapping in ProgramCategoryOptionMapping.hbm.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimgrace committed Jan 8, 2025
1 parent 786fe2d commit 1e9ff0c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<generator class="native" />
</id>

<many-to-one name="categoryMapping" class="org.hisp.dhis.program.ProgramCategoryMapping" column="categorymappingid"
foreign-key="fk_optionmapping_categorymappingid"/>

<many-to-one name="categoryOption" class="org.hisp.dhis.category.CategoryOption" column="categoryoptionid"
foreign-key="fk_optionmapping_categoryoptionid"/>

Expand Down

0 comments on commit 1e9ff0c

Please sign in to comment.