]
Manik Surtani reassigned JBCACHE-1510:
--------------------------------------
Assignee: Mircea Markus (was: Manik Surtani)
May affect Infinispan as well; could you pls investigate?
JBossCache dont support IBM DB2 - Invalid usage of parameter markers
in putting value query
-------------------------------------------------------------------------------------------
Key: JBCACHE-1510
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1510
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 3.0.2.GA
Environment: JDK 1.6.0.13, JBoss 5.0.1, IBM DB2 9.5
Reporter: MariuszS
Assignee: Mircea Markus
SQL query:
INSERT INTO jbosscache (fqn, node, parent) SELECT ?, ?, ? FROM jbosscache_D WHERE NOT
EXISTS (SELECT fqn FROM jbosscache WHERE fqn = ?)
is not valid for DB2.
A STATEMENT STRING TO BE PREPARED CONTAINS AN INVALID USE OF PARAMETER MARKERS
A parameter marker is not allowed.
11:57:29,710 TRACE [JDBCCacheLoader] Executing SQL statement [INSERT INTO jbosscache
(fqn, node, par
ent) SELECT ?, ?, ? FROM jbosscache_D WHERE NOT EXISTS (SELECT fqn FROM jbosscache WHERE
fqn = ?)]
11:57:29,713 ERROR [JDBCCacheLoader] Failed to insert node :DB2 SQL Error: SQLCODE=-418,
SQLSTATE=42
610, SQLERRMC=null, DRIVER=3.52.95
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: