Re: import from an external DB

2016-02-23 Thread OC
Thanks again, (for about a zillionth time)! That was precisely the culprit; fixed and works like a charm. (Having found it, I even can track it back to a mistake when batch-renaming dupped entities, so no mystery anymore.) All the best, OC On 23. 2. 2016, at 21:53, Chuck Hill wrote: > grep

Re: import from an external DB

2016-02-23 Thread Chuck Hill
grep -ir jceb * Try that. There is an adaptorName setting in the index.eomodeld file that can be used for this. It forms it as “Java” + adaptorName() + “Adaptor” Chuck On 2016-02-23, 12:41 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC" wrote: >T, > >O

Re: import from an external DB

2016-02-23 Thread OC
P.S. Here's the stack trace, perhaps it might help someone to see the culprit: === Caused by: java.lang.IllegalStateException: Unable to get the name of the class to instantiate for the adaptor framework JavaJCEBCAdaptor. The possible causes for this error are: the adaptor framework is not insta

Re: import from an external DB

2016-02-23 Thread OC
T, On 23. 2. 2016, at 21:29, T Worman wrote: >> "Unable to get the name of the class to instantiate for the adaptor >> framework JavaJCEBCAdaptor. The possible causes for this error are: the >> adaptor framework is not installed on your system, the adaptor framework is >> not linked into your

Re: import from an external DB

2016-02-23 Thread T Worman
On Feb 23, 2016, at 12:21 PM, OC wrote: > > Hello there, > > well, I have cleaned up the external DB model so that it loads all right. At > launch, I am setting the connection dictionaries: > > - all my normal models get > [URL:jdbc:FrontBase://localhost/DBA/user=USER/isolation=read_committed/

Re: import from an external DB

2016-02-23 Thread OC
Hello there, well, I have cleaned up the external DB model so that it loads all right. At launch, I am setting the connection dictionaries: - all my normal models get [URL:jdbc:FrontBase://localhost/DBA/user=USER/isolation=read_committed/locking=optimistic, password:, username:] - my import mod

Re: import from an external DB

2016-02-23 Thread Anjo Krank
mmatically on-the-fly just before the fetch, > never tried that... wouldn't that bring havoc though if more threads fetched > concurrently and each extended the model its own way? > > Thanks a very big lot, > OC > > >> On 2016-02-21, 6:40 AM, >> "webobj

Re: import from an external DB

2016-02-22 Thread Chuck Hill
lly on-the-fly just before the fetch, >never tried that... wouldn't that bring havoc though if more threads fetched >concurrently and each extended the model its own way? > >Thanks a very big lot, >OC > > >> On 2016-02-21, 6:40 AM, >> "webobjects-dev-

Re: import from an external DB

2016-02-22 Thread OC
om on behalf of > ocs.cz" of o...@ocs.cz> wrote: > >> Hello there, >> >> my web app should occassionally import from an external DB (a database >> created and maintained by another WO-based application). Just import, and >> only low-level dictionaries

Re: import from an external DB

2016-02-22 Thread Chuck Hill
-02-21, 6:40 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of ocs.cz" wrote: >Hello there, > >my web app should occassionally import from an external DB (a database created >and maintained by another WO-based application). Just import

import from an external DB

2016-02-21 Thread ocs.cz
Hello there, my web app should occassionally import from an external DB (a database created and maintained by another WO-based application). Just import, and only low-level dictionaries at that, never full-fledged EO-objects. Probably though, the imported tables would be rather big, it would