Reverse Engineering gives useless error message?
 
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Reverse Engineering gives useless error... Expand / Collapse
Author
Message
Posted 2010-03-01 13:43:13


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 05:16:23
Posts: 454, Visits: 1 036
Last time I tried this which was quite a long time ago, when I reversed engineered a database, I got a lot of errors. I just tried one again and only got one, but it gives no clue what you are supposed to do about it or what the consequences of the error may be.

Is it just a warning about something that it fixed? Or is there something now missing in the model or what?

The error dialog simply said:

Unmatched column types.
float p:-1 s:-1 |-1

What is one to do about this (if anything) and why isn't the error message more helpful?


/mtiede
Environment:
Windows 7 Ultimate 64 bit
Delphi 6
Rad Studio 2010 Enterprise with Prism 2011
Post #4925
Posted 2010-03-01 13:48:21


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 05:16:23
Posts: 454, Visits: 1 036
Also, after clicking the Ok button, it says something like: "Don't forget to add the package to the EcoSpace". As a beginner, I'm wondering if that means the EcoSpace project, or better yet, the EcoSpace.pas designer of the EcoSpace project.

Or better yet, perhaps IT should add it where it is supposed to be added?


/mtiede
Environment:
Windows 7 Ultimate 64 bit
Delphi 6
Rad Studio 2010 Enterprise with Prism 2011
Post #4926
Posted 2010-03-01 17:27:25
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2010-07-21 00:21:24
Posts: 1 228, Visits: 1 373
In the current daily build, the error message for the unmatched types has been improved. The message now reads:

===
The following column types could not be matched to an explicit attributemapper.
<list goes here>
They will be mapped with a generic mapper instead.
This only be a problem if you need to regenerate the schema using ECO.
===
I realize that even this might be a little to thin for beginners, so I just added the following text at the end:
You can replace the attribute mapper for any attribute by setting property 'PersistenceMapper' to the value '' or to an explicit mapper.

The reverse-engineering tool can't easily update the ecospace since it doesn't know which ecospace you intend to use this package in. I have updated the instructions to read as follows:

"Don't forget to add the new package to the list of selected packages in your EcoSpace. First you must generate the source code and then you must open the 'Select packages' tool in the EcoSpace designer".



/Jonas Hogstrom [CapableObjects]
Post #4936
Posted 2010-03-02 05:16:29


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 05:16:23
Posts: 454, Visits: 1 036
Great! Those sound like good improvements.

/mtiede
Environment:
Windows 7 Ultimate 64 bit
Delphi 6
Rad Studio 2010 Enterprise with Prism 2011
Post #4940
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: HansKarlsen, Jonas Hogstrom

Permissions Expand / Collapse

All times are GMT +1:00, Time now is 4:07

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0,172. 9 queries. Compression Disabled.