|
|
|
Supreme 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
|
|
|
|
|
Supreme 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
|
|
|
|
|
Supreme 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]
|
|
|
|
|
Supreme 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
|
|
|
|