Announcement Announcement Module
Collapse
No announcement yet.
weird dbre.xml Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • weird dbre.xml

    Hello,

    I have a mysql db and I issued the followings from roo command line

    database introspect --schema dbo
    database reverse engineer --schema dbo --package domain


    The generated xml has many problems. pls see the pic below
    http://img848.imageshack.us/img848/8673/image002w.png

    - 1. Attribute type errors ...
    - 2. I got empty entities

    I found a similar thread about the above mentioned problem but it is not clear for me
    http://forum.springsource.org/showthread.php?t=104290

    Does anyone have idea how can fix them (1,2)

    Thanks ahead.

    SpringSource Tool Suite
    Version: 2.6.0.RELEASE
    Build Id: 201103161000

  • #2
    Your .java file will be clean unless you added fields manually or with the Roo field commands. The fields from a database reverse engineer are created in the Event_Roo_DbManaged.aj ITD.

    Don't worry too much about the attribute warnings from the XML editor. The Roo DBRE code does read this correctly. However, I probably will change the comma delimiter to something else in the next release to avoid these warnings.

    Alan

    Comment


    • #3
      Ok Alan, I take your words, many thanks for the answer.

      Originally posted by Alan Stewart View Post
      Your .java file will be clean unless you added fields manually or with the Roo field commands. The fields from a database reverse engineer are created in the Event_Roo_DbManaged.aj ITD.

      Don't worry too much about the attribute warnings from the XML editor. The Roo DBRE code does read this correctly. However, I probably will change the comma delimiter to something else in the next release to avoid these warnings.

      Alan

      Comment

      Working...
      X