Re: wrong sql-code
Re: wrong sql-code
- Subject: Re: wrong sql-code
- From: Francis Labrie <email@hidden>
- Date: Fri, 28 Oct 2005 16:41:10 -0400
Hi,
Frank Stock wrote:
I have 2 EOModels in my project. One is included in a Framework, the
other has a relation to the first. Everthing seems ok in EOModeler,
but where I do a fetch and there is a relation between the Models I
get the wrong sql. 'Table doesn't exist'. I thought WO should ad the
user of the other table.
Well, I don't think EOF can figure how to do so... Maybe something
could ba added to the JDBCPlugIn to support that, though.
I get something like:
select t0.a,t0.b,t0.c,t1.d from d_group t0, group t1 where ....
so it should be:
select t0.a,t0.b,t0.c,t1.d from d_group t0, school_data.group t1 where
....
I have even tried this in 5.3 but there I can't find the EOModel in
the Framework.
What I am doing wrong?
Try to change the external name (i.e. table name) for your Group entity
to "school_data.group" instead of "group".
--
Francis Labrie
Saint-Bruno-de-Montarville, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden