Bug 1042871 - Infinispan cache store doesn't read databaseType property
Summary: Infinispan cache store doesn't read databaseType property
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Paul Ferraro
QA Contact: Michal Vinkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 14:49 UTC by Tomas Remes
Modified: 2019-08-19 12:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:48:42 UTC
Type: Bug


Attachments (Terms of Use)

Description Tomas Remes 2013-12-13 14:49:32 UTC
There's option to specify database type in your jdbc cache store definition e.g.:

<binary-keyed-jdbc-store datasource="java:jboss/datasources/ExampleDS" preload="true" passivation="false" purge="false">
        <property name="databaseType">SYBASE</property>
        <binary-keyed-table prefix="b">
        <id-column name="id" type="VARCHAR(255)"/>
        <data-column name="datum" type="VARBINARY(10000)"/>
        <timestamp-column name="ver" type="BIGINT"/>
   </binary-keyed-table>
</binary-keyed-jdbc-store>

The problem is that this property is never read, which for example means that user cannot use jTDS jdbc drivers, where infinispan is not able to guess database type from driver specification.
Note that I've tried to add this property manually as well as using CLI.

Comment 1 Tomas Remes 2013-12-16 09:02:30 UTC
Upstream issue https://issues.jboss.org/browse/ISPN-3837


Note You need to log in before you can comment on or make changes to this bug.