${jndi-name}
#if($helper.isDefined(${use-java-context})) ${use-java-context} #end #if(${track-connection-by-tx}) #end ${xa-datasource-class} #if(${xa-datasource-properties}) #foreach($key in ${xa-datasource-properties.keySet()}) ${xa-datasource-properties.get($key)} #end #end #if($helper.isDefined(${is-same-RM-override-value})) ${is-same-RM-override-value} #end #if(${transaction-isolation}) ${transaction-isolation} #end #if(${user-name}) ${user-name} #end #if(${password}) ${password} #end #if(${security-config})

#if(${security-config.equalsIgnoreCase("APPLICATION-MANAGED-SECURITY")}) #elseif(${security-config.equalsIgnoreCase("SECURITY-DOMAIN")}) ${security-domain} #elseif(${security-config.equalsIgnoreCase("SECURITY-DOMAIN-AND-APPLICATION")}) ${security-domain} #end #end #if(${min-pool-size})

${min-pool-size}
#end #if(${max-pool-size}) ${max-pool-size} #end #if(${blocking-timeout-millis}) ${blocking-timeout-millis} #end #if(${idle-timeout-minutes}) ${idle-timeout-minutes} #end #if(${no-tx-separate-pools}) #end #if(${new-connection-sql})

${new-connection-sql}
#end #if(${check-valid-connection-sql}) ${check-valid-connection-sql} #end #if(${valid-connection-checker-class-name}) ${valid-connection-checker-class-name} #end #if(${exception-sorter-class-name}) ${exception-sorter-class-name} #end #if(${track-statements}) ${track-statements.toLowerCase()} #end #if(${prepared-statement-cache-size}) ${prepared-statement-cache-size} #end #if(${dependencies})

#foreach($dependency in ${dependencies}) $dependency #end #end #if(${type-mapping})

${type-mapping}
#end