Apr 23rd, 2011, 04:12 AM
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
- 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
Does anyone have idea how can fix them (1,2)
SpringSource Tool Suite
Build Id: 201103161000
Apr 25th, 2011, 02:43 AM
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.
Apr 25th, 2011, 02:55 AM
Ok Alan, I take your words, many thanks for the answer.
Originally Posted by Alan Stewart