<{{ ift ( value .XBRLGEN_DS_XA true ) "xa-datasource" "datasource" }} jta="{{ value .XBRLGEN_DS_JTA .XBRLGEN_DS_XA true }}" jndi-name="{{ value .XBRLGEN_DS_JNDI "java:/xbrl-gen" }}" pool-name="{{ value .XBRLGEN_DS_POOLNAME "xbrl-gen" }}" use-java-context="{{ value .XBRLGEN_DS_USE_JAVA_CTX true }}" use-ccm="{{ value .XBRLGEN_DS_USE_CCM true }}">
{{- if ( value .XBRLGEN_DS_XA true ) }}
{{ value .XBRLGEN_DS_URL "java:mysql://mysql:3306/xbrlgen" }}
{{- else }}
{{ value .XBRLGEN_DS_URL "java:mysql://mysql:3306/xbrlgen" }}
{{- end }}
{{ if .XBRLGEN_DS_DRIVER -}}
{{ .XBRLGEN_DS_DRIVER }}
{{ else -}}
{{ index ( split ( value .XBRLGEN_DS_URL "java:mysql://mysql:3306/xbrlgen" ) ":" ) 1 }}
{{ end -}}
{{ value .XBRLGEN_DS_USER "root" }}
{{ value .XBRLGEN_DS_PASSWORD "p4ssw0rd" }}
30000
5
100
true
{{ ift ( value .XBRLGEN_DS_XA true ) "xa-datasource" "datasource" }}>