Using Bold And ECO with the same db
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Using Bold And ECO with the same db Expand / Collapse
Author
Message
Posted 2008-10-27 17:23:07
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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.
Post #677
Posted 2008-10-28 11:38:15
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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
Post #692
Posted 2008-10-28 12:28:42
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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]
Post #694
« 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, PeterMorris

Permissions Expand / Collapse

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

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