
# tag::all[]
thorntail:
  datasources:
    data-sources:
      # tag::datasource[]
      MyDS:
        driver-name: myh2
        connection-url: jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
        user-name: sa
        password: sa
      # end::datasource[]
    jdbc-drivers:
      # tag::driver[]
      myh2:
        driver-module-name: com.h2database.h2
        driver-xa-datasource-class-name: org.h2.jdbcx.JdbcDataSource
      # end::driver[]
# end::all[]
