${jndi-name}
#if($helper.isDefined(${use-java-context})) ${use-java-context} #end

${connection-url}
${driver-class}
#if(${connection-properties}) #foreach($key in ${connection-properties.keySet()}) ${connection-properties.get($key)} #end #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(${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