[
https://issues.jboss.org/browse/ISPN-4211?page=com.atlassian.jira.plugin....
]
Martin Gencur updated ISPN-4211:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
https://github.com/infinispan/infinispan/pull/2506
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