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

Prepared Statements: Convert Enums to String to avoid SQLException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • empire-db-2.3.0
    • Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: