hbm.idbag.hbm.ftl Maven / Gradle / Ivy
<#assign value = property.value>
<#assign keyValue = value.getKey()>
<#assign elementValue = value.getElement()>
<#assign elementTag = c2h.getCollectionElementTag(property)>
lazy="${c2h.getCollectionLazy(value)}"
<#if property.cascade != "none">
cascade="${property.cascade}"
#if>
<#if !property.basicPropertyAccessor>
access="${property.propertyAccessorName}"
#if>
<#if c2h.hasFetchMode(property)> fetch="${c2h.getFetchMode(property)}"#if>>
<#assign metaattributable=property>
<#include "meta.hbm.ftl">
<#list keyValue.columns as column>
<#include "column.hbm.ftl">
#list>
<#include "${elementTag}-element.hbm.ftl">