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">
<#foreach column in keyValue.columnIterator>
<#include "column.hbm.ftl">
#foreach>
<#include "${elementTag}-element.hbm.ftl">