Bug 841896 - JDBC cache store should quote generated table name
Summary: JDBC cache store should quote generated table name
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER1
: 6.0.1
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-20 13:51 UTC by Tristan Tarrant
Modified: 2018-09-12 22:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In JBoss Data Grid 6.0.0 the JDBC cache store would not enclose generated table names within quotes, which caused problems when attempting to use special characters. This has now been resolved, and table names are quoted.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
5.1.5 stacktrace (30.73 KB, text/plain)
2012-07-26 12:58 UTC, Martin Gencur
no flags Details
5.1.6 Stacktrace (12.10 KB, text/plain)
2012-07-26 12:59 UTC, Martin Gencur
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-2155 0 Major Resolved JDBC cache store should quote generated table name 2013-07-03 11:31:03 UTC

Description Tristan Tarrant 2012-07-20 13:51:37 UTC

Comment 1 JBoss JIRA Server 2012-07-24 13:22:56 UTC
Galder Zamarreño <galder.zamarreno> made a comment on jira ISPN-2155

@Paul, it will be fixed for 5.1.x, we're marking them as 'jdg' and 'jdg6' tags, so Tristan will come and triage those issues marked with the tag and cherry pick them.

Comment 2 Martin Gencur 2012-07-26 12:58:25 UTC
This does not work fully correctly yet. I changed one of our tests to have TABLE_NAME_PREFIX = "edg/bin". With 5.1.5.FINAL-redhat-1  the test failed on creating the table. With 5.1.6.FINAL-redhat.-1 it fails on storing the data into the table. Attaching stacktraces for both 5.1.5 and 5.1.6.

Comment 3 Martin Gencur 2012-07-26 12:58:57 UTC
Created attachment 600503 [details]
5.1.5 stacktrace

Comment 4 Martin Gencur 2012-07-26 12:59:20 UTC
Created attachment 600504 [details]
5.1.6 Stacktrace

Comment 5 Martin Gencur 2012-07-26 13:08:30 UTC
I'm sorry, my bad. This was a problem in our tests. Verified.


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