hbm.query.hbm.ftl Maven / Gradle / Ivy
<#foreach queryDef in md.namedQueryDefinitions>
flush-mode="${queryDef.flushMode.toString().toLowerCase()}"
#if>
<#if queryDef.isCacheable()>
cacheable="${queryDef.isCacheable()?string}"
#if>
<#if queryDef.cacheRegion?exists>
cache-region="${queryDef.cacheRegion}"
#if>
<#if queryDef.fetchSize?exists>
fetch-size="${queryDef.fetchSize}"
#if>
<#if queryDef.timeout?exists>
timeout="${queryDef.timeout?c}"
#if> >
#foreach>