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

Unable to set time column values using LocalTime when Prepared Statements are disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Core
    • None

    Description

      Jan Glaubitz wrote:

      I want to insert LocalTime objects into DataType.TIME-columns but inserting throws an exception:
       org.apache.empire.exceptions.InvalidArgumentException: Invalid Argument 02:24 for parameter value. 
      at org.apache.empire.db.DBSQLBuilder.getDateTimeString(DBSQLBuilder.java: 387)

      This could be reproduced using SQL-Server.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: