Re: Database Independence

2008-02-19 Thread Andrew Lindesay
We just fixed the Prototypes to work like they used to work in WO 4.5 Thanks -- I've added that to the wiki. Prototypes also make the process of modeling 10x faster, btw Yes I can see this would be quite a bit faster -- I'll make a note to revisit this when there is a moment. cheers. __

Re: Database Independence

2008-02-19 Thread Mr. Pierre Frisch
We just fixed the Prototypes to work like they used to work in WO 4.5 i.e. when you change Database vendor we switch the Prototype definitions. This is done at model load time based on the connection dictionary of that model in the form EOJDBCFrontbasePrototypes. As Anjo pointed out the ord

Re: Database Independence

2008-02-19 Thread Mike Schrag
The workflow in Entity Modeler is optimized for using prototypes. Historical point here, actually ... This determined the choice of columns (and which ones are editable) in the table view in Entity Modeler. It's to encourage proper behavior by annoyance with the alternative :) In fact, the

Re: Database Independence

2008-02-19 Thread Mike Schrag
Prototypes also make the process of modeling 10x faster, btw ... Even if you don't switch databases at all, I recommend switching entirely to them. The workflow in Entity Modeler is optimized for using prototypes. ms On Feb 19, 2008, at 3:29 AM, Anjo Krank wrote: I presume it is a bit mo

Re: Database Independence

2008-02-19 Thread Anjo Krank
I presume it is a bit more clever than just looking for an entity called EOJDBCAdaptorPrototypes and will somehow look for an entity with the JDBC plugin's name in it or something? We had this in Wonder for ages now... for us the lookup is: EOJDBCPostgresqlPrototypes EOJDBCPrototypes EOProt

Re: Database Independence

2008-02-18 Thread Andrew Lindesay
Hello; I see the following which looks good, but doesn't really explain the mechanics -- does anybody know how this has changed? Radar #5084084 Enhance EOF prototyping support Description: Enhance EOModel prototyping support to make it recognize the Database Management System used just li

Re: Database Independence

2008-02-18 Thread Andrew Lindesay
Thanks Guido; OK I have not used prototypes before as database product changes are relatively infrequent. I'll take a look - thanks for the advice. cheers. I'm wondering about writing a WOA which I would like to give to different people to run against different database products. Howev

Re: Database Independence

2008-02-18 Thread Guido Neitzer
On 19.02.2008, at 00:12, Andrew Lindesay wrote: I'm wondering about writing a WOA which I would like to give to different people to run against different database products. However, the model has the 'externalType' in the model file which can be used by some plugins such as the PG JDBC ada

Database Independence

2008-02-18 Thread Andrew Lindesay
Hello; I'm wondering about writing a WOA which I would like to give to different people to run against different database products. However, the model has the 'externalType' in the model file which can be used by some plugins such as the PG JDBC adaptor plugin from Wonder. I wonder; has