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>   
   
 <#list embeddedid.properties as keyproperty>
	<#if !c2h.isManyToOne(keyproperty)>
	   
	   <#list keyproperty.columns as column>
         <#include "pkcolumn.hbm.ftl">
       
       
	<#else>
	   
	   <#list keyproperty.columns as column>
          <#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">
    
 <#list property.columns as column>
 	    <#include "pkcolumn.hbm.ftl">
 
 <#if !c2h.isIdentifierGeneratorProperties(property)>
	    
 <#else>
	    
        <#assign parameters = c2h.getIdentifierGeneratorProperties(property)>
        <#list c2h.getFilteredIdentifierGeneratorKeySet(property, props) as paramkey>
             ${parameters.get(paramkey)}
        
		
 
    
<#else>
    
        unsaved-value="${c2h.getUnsavedValue(property)}"

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

    >		
    <#list property.value.properties as keyproperty>
	  <#if !c2h.isManyToOne(keyproperty)>
	        
	        <#list keyproperty.columns as column>
	           <#include "pkcolumn.hbm.ftl">
	        	
	        
	  <#else>
			
			<#list keyproperty.columns as column>
                <#include "pkcolumn.hbm.ftl">
            
        	
	  
    
    	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy