|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2011-02-10 21:01:12
Posts: 3,
Visits: 143
|
|
I'm considering rewriting my application (Delphi/Bold) with Eco. I'll be focusing on providing a web based interface for some functionality first. Does anybody tried to use the same db for an app writen with Bold and Eco ? Are there any pitfalls, recommendations ?.
Regards
Alex
PS The Eco Team just made my day when I red about the possibility to import bold models in the new eco5 modeler.
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2012-01-27 18:06:44
Posts: 189,
Visits: 777
|
|
Hi Alex,
I haven't, whilst I wonder if it would be much like manually creating an xml file mapping, I assume there would need to be something special in the case of the auto assigned BOLD_ID.
One of the ECO team will probably be better able to answer this question, I'm sorry.
Scott
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 2010-11-30 12:17:13
Posts: 1 230,
Visits: 1 382
|
|
OK, Scott, I'll take it from here 
It is perfectly possible to run an eco application on top of a bold-generated database. You need to do some configuration on the persistencemapper to instruct ECO to use the "Bold" names for certain columns/tables, and you might need to hand-tweak how certain attributes are mapped to the database (for example booleans were under some conditions mapped as 0 and -1 iirc (for some odd and long ago forgotten reasons)).
the Bold-import (bfd-files) in ECO5 doesn't handle all of the peculiarities in Bold, such as implicit RootClass, implicit rootclass for link-classes, "overrideInAllSubclasses" and a few other special cases. I know one of the fieldtesters of Eco5 have tested and successfully managed to run his new ECO application against his old Bold database.
/Jonas Hogstrom [CapableObjects]
|
|
|
|