Uploaded image for project: 'Empire-DB'
  1. Empire-DB
  2. EMPIREDB-130

Prepared Statements: Convert Enums to String to avoid SQLException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: