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: 7.0.0.Beta1
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)>
    		
    			<#list indexValue.selectables as column>
     			<#include "column.hbm.ftl">
			  
    		
    		<#else>
    		
    			<#list indexValue.selectables as column>
    			<#include "column.hbm.ftl">
			 
		
    		
    		<#include "${elementTag}-element.hbm.ftl">
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy