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

Introduce "dialect" attribute for jdbc cache stores

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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(...)

              mgencur Martin Gencur
              mgencur Martin Gencur
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: