Results 1 to 3 of 3

Thread: weird dbre.xml

  1. #1
    Join Date
    Apr 2011
    Posts
    6

    Default 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. #2
    Join Date
    Dec 2005
    Posts
    929

    Default

    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
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    Apr 2011
    Posts
    6

    Default

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

    Quote 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •