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

Wrong Java Type in Records for BLOB Columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • empire-db-2.4.3
    • empire-db-2.4.4
    • CodeGenerator
    • None

    Description

      When using the empire-db-codegen project to reverse engineer an existing database the data type BLOB is broken. For example the getter in the record for column BLOB_VALUE (Data Type BLOB) is generated as:

      public [Ljava.lang.Byte; getBlobValue() {
      return ([Ljava.lang.Byte;)super.getValue(getTable().BLOB_VALUE);
      }

      "[Ljava.lang.Byte;" is clearly wrong.

      Attachments

        1. Record.vm.patch
          1 kB
          Jan Glaubitz

        Activity

          People

            doebele Rainer Döbele
            derjan Jan Glaubitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: