hbm.array.hbm.ftl Maven / Gradle / Ivy
<#assign value = property.value>
<#assign keyValue = value.getKey()>
<#assign elementValue = value.getElement()>
<#assign indexValue = value.getIndex()>
<#assign elementTag = c2h.getCollectionElementTag(property)>
element-class="${value.elementClassName}"
<#include "collection-tableattr.hbm.ftl">
<#if property.cascade != "none">
cascade="${property.cascade}"
<#if !property.basicPropertyAccessor>
access="${property.propertyAccessorName}"
<#if c2h.hasFetchMode(property)> fetch="${c2h.getFetchMode(property)}">
<#assign metaattributable=property>
<#include "meta.hbm.ftl">
<#include "key.hbm.ftl">
<#foreach column in indexValue.columnIterator>
<#include "column.hbm.ftl">
<#include "${elementTag}-element.hbm.ftl">