[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1510) JBossCache dont support IBM DB2 - Invalid usage of parameter markers in putting value query

MariuszS (JIRA) jira-events at lists.jboss.org
Tue May 12 07:36:57 EDT 2009


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: Manik Surtani


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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list