]
Galder Zamarreño updated ISPN-4211:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Alpha5
7.0.0.Final
(was: 7.0.0.Beta1)
Resolution: Done
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.Alpha5, 7.0.0.Final
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(...)