Empire-DB
  1. Empire-DB
  2. EMPIREDB-130

Prepared Statements: Convert Enums to String to avoid SQLException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: empire-db-2.3.0
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Activity

        Rainer Döbele made changes -
        Fix Version/s empire-db-2.3.0 [ 12320246 ]
        Fix Version/s empire-db-2.2.1 [ 12316260 ]
        Rainer Döbele made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s empire-db-2.2.1-incubating [ 12316260 ]
        Resolution Fixed [ 1 ]
        Rainer Döbele created issue -

          People

          • Assignee:
            Rainer Döbele
            Reporter:
            Rainer Döbele
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development