You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by "Rainer Döbele (Created JIRA)" <em...@incubator.apache.org> on 2012/02/06 13:53:59 UTC

[jira] [Created] (EMPIREDB-130) Prepared Statements: Convert Enums to String to avoid SQLException

Prepared Statements: Convert Enums to String to avoid SQLException
------------------------------------------------------------------

                 Key: EMPIREDB-130
                 URL: https://issues.apache.org/jira/browse/EMPIREDB-130
             Project: Empire-DB
          Issue Type: Bug
          Components: Core
            Reporter: Rainer Döbele
            Assignee: Rainer Döbele
            Priority: Minor


When preparedStatements are enabled setting a value of type Enum will cause an SQLException to be thrown.
Avoid this by converting to a String beforehand.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (EMPIREDB-130) Prepared Statements: Convert Enums to String to avoid SQLException

Posted by "Rainer Döbele (Resolved JIRA)" <em...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/EMPIREDB-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rainer Döbele resolved EMPIREDB-130.
------------------------------------

       Resolution: Fixed
    Fix Version/s: empire-db-2.2.1-incubating
    
> Prepared Statements: Convert Enums to String to avoid SQLException
> ------------------------------------------------------------------
>
>                 Key: EMPIREDB-130
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-130
>             Project: Empire-DB
>          Issue Type: Bug
>          Components: Core
>            Reporter: Rainer Döbele
>            Assignee: Rainer Döbele
>            Priority: Minor
>             Fix For: empire-db-2.2.1-incubating
>
>
> When preparedStatements are enabled setting a value of type Enum will cause an SQLException to be thrown.
> Avoid this by converting to a String beforehand.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira