All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hbm.map.hbm.ftl Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
<#assign value = property.value>
<#assign keyValue = value.getKey()>
<#assign elementValue = value.getElement()>
<#assign indexValue = value.getIndex()>
<#assign elementTag = c2h.getCollectionElementTag(property)>

	
	lazy="${c2h.getCollectionLazy(value)}"
	<#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">
		<#-- TODO table attributes-->
    		<#include "key.hbm.ftl">
    		<#if c2h.isManyToOne(indexValue)>
    		
    			<#foreach column in indexValue.columnIterator>
    			<#include "column.hbm.ftl">
			  
    		
    		<#else>
    		
    			<#foreach column in indexValue.columnIterator>
    			<#include "column.hbm.ftl">
			 
		
    		
    		<#include "${elementTag}-element.hbm.ftl">
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy