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

        There are no comments yet on this 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