Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4211

Introduce "dialect" attribute for jdbc cache stores

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.0.0.Alpha5, 7.0.0.Final
    • None
    • None
    • None

    Description

      The main goal is to provide a specific configuration attribute for XML configuration. I.e.

      <string-keyed-jdbc-store name="jdbc-store" datasource="java:jboss/datasources/JdbcDS" dialect="MYSQL" ...
      

      instead of having to specify a custom property by

      <string-keyed-jdbc-store name="jdbc-store" datasource="java:jboss/datasources/JdbcDS" ... >
           <property name="databaseType">${database.type}</property>
          ...
      </string-keyed-jdbc-store>
      

      This will also result in different way of configuring ISPN in embedded mode: .addStore(JdbcBinaryStoreConfigurationBuilder.class).table().databaseType(....) -> .addStore(JdbcBinaryStoreConfigurationBuilder.class)).dialect(...)

      Attachments

        Issue Links

          Activity

            People

              mgencur Martin Gencur
              mgencur Martin Gencur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: