Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19989

h2-driver layer rule for jakarta DataSourceDefinition annotation

XMLWordPrintable

      We should benefit from Wildfly Glow rules that look into annotation values to discover that the h2 driver is required. For example this construct should bring the layer:

      @DataSourceDefinition(name="java:jboss/datasources/batch-processingDS",
              className="org.h2.jdbcx.JdbcDataSource",
              url="jdbc:h2:mem:batch-processing;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1",
              user="sa",
              password="sa"
      )

              jdenise@redhat.com Jean Francois Denise
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: