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

hbm.id.hbm.ftl Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta1
Show newest version
<#if embeddedid?exists>   
   
 <#foreach keyproperty in embeddedid.propertyIterator>
	<#if !c2h.isManyToOne(keyproperty)>
	   
       <#foreach column in keyproperty.columnIterator>
         <#include "pkcolumn.hbm.ftl">
       
       
	<#else>
	   
       <#foreach column in keyproperty.columnIterator>
          <#include "pkcolumn.hbm.ftl">
       
       
	
    
     
<#elseif !c2j.isComponent(property)>
	
        unsaved-value="${c2h.getUnsavedValue(property)}"
 
 <#if !property.basicPropertyAccessor>
        access="${property.propertyAccessorName}"
 
    >
    <#assign metaattributable=property>
	<#include "meta.hbm.ftl">
    
 <#foreach column in property.columnIterator>
	    <#include "pkcolumn.hbm.ftl">
 
 <#if !c2h.isIdentifierGeneratorProperties(property)>
	    
 <#else>
	    
        <#assign parameters = c2h.getIdentifierGeneratorProperties(property)>
        <#foreach paramkey in c2h.getFilteredIdentifierGeneratorKeySet(property, props)>
            ${parameters.get(paramkey)}
        
		
 
    
<#else>
    
        unsaved-value="${c2h.getUnsavedValue(property)}"

<#if !property.basicPropertyAccessor>
        access="${property.propertyAccessorName}"

    >		
    <#foreach keyproperty in property.value.propertyIterator>
	  <#if !c2h.isManyToOne(keyproperty)>
	        
	        <#foreach column in keyproperty.columnIterator>
	           <#include "pkcolumn.hbm.ftl">
	        	
	        
	  <#else>
			
            <#foreach column in keyproperty.columnIterator>
                <#include "pkcolumn.hbm.ftl">
            
        	
	  
    
    	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy