Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2185

DBRE add on fails without detail information

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.4.RELEASE
    • Component/s: PERSISTENCE
    • Labels:
      None
    • Environment:
      Windows 7
      Roo 1.1.2 release
      Maven 3.0.2
      JDK 6
      MySQL 5.5.9

      Description

      Trying to use DBRE to create JPA entities from existing MySql database(80 tables). The following command failed.
      database reverse engineer --schema no-schema-required --package --includeTables "com*"
      And the error message only shows
      NullPointerException at org.springframework.roo.addon.dbre.DbreMetadata.addOneToOneFields(DbreMetadata.java:208)
      This may be caused by the schema not meet the DBRE's requirement.
      Is there any way to find out which table and which column causes this issue?

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            houyang Hui Ouyang
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: