You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Nathan Jantz (JIRA)" <be...@incubator.apache.org> on 2005/05/24 23:04:54 UTC

[jira] Closed: (BEEHIVE-516) SQLSupport needs to support overriding the quote character

     [ http://issues.apache.org/jira/browse/BEEHIVE-516?page=all ]
     
Nathan Jantz closed BEEHIVE-516:
--------------------------------


This has been verified by configuring the SQLSupportConfig java bean and passing that as a parameter to an instance of the SQLSupport class with something like the following:

private static final String DOUBLE_QUOTE_CHAR = "\"";
SQLSupportConfig config = SQLSupportConfigFactory.getInstance();
config.setQuoteChar(DOUBLE_QUOTE_CHAR);
where = SQLSupport.getInstance(config).createWhereClause(filters);

> SQLSupport needs to support overriding the quote character
> ----------------------------------------------------------
>
>          Key: BEEHIVE-516
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-516
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Eddie O'Neil
>     Assignee: Nathan Jantz
>      Fix For: V1

>
> Because different databases expect different characters are used for quoting Strings, the quote character needs to be overridable.  
> Otherwise, the SQLSupport class is of limited use on databases that don't use a single-quote quoting character.  :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira