[infinispan-issues] [JBoss JIRA] (ISPN-4211) Introduce "dialect" attribute for jdbc cache stores

Martin Gencur (JIRA) issues at jboss.org
Tue Apr 15 06:04:33 EDT 2014


Martin Gencur created ISPN-4211:
-----------------------------------

             Summary: Introduce "dialect" attribute for jdbc cache stores
                 Key: ISPN-4211
                 URL: https://issues.jboss.org/browse/ISPN-4211
             Project: Infinispan
          Issue Type: Feature Request
            Reporter: Martin Gencur
            Assignee: Martin Gencur
             Fix For: 7.0.0.Beta1


The main goal is to provide a specific configuration attribute for XML configuration. I.e. 
{code:xml}
<string-keyed-jdbc-store name="jdbc-store" datasource="java:jboss/datasources/JdbcDS" dialect="MYSQL" ...
{code}
instead of having to specify a custom property by 
{code:xml}
<string-keyed-jdbc-store name="jdbc-store" datasource="java:jboss/datasources/JdbcDS" ... >
     <property name="databaseType">${database.type}</property>
    ...
</string-keyed-jdbc-store>
{code}

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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list