Re: Entity join with different data sources?
Re: Entity join with different data sources?
- Subject: Re: Entity join with different data sources?
- From: Chuck Hill <email@hidden>
- Date: Mon, 25 Nov 2013 19:10:27 +0000
- Thread-topic: Entity join with different data sources?
On 2013-11-25 3:38 AM, "Gintautas Sulskus" wrote:
Thank you for a very quick response.
Each model is specific to one database, you will need to have two models. You can have as many models as you want in a project. You can create a model group in Eclipse to hold both models
so that you can make relationships between them.
Can I use relationship to make "virtual" joins, that do not exist in the database? E.g. I would like to express table_1 and table_2 as a virtual_table_3 that exists only in EOModel. Then I would like to query and perform dml operations on that virtual
table.
No, you can't do that. They get fetched as disjoint Java objects.
Or should I express only the relationships that are present in the database?
Yes. I will also note that this is not a commonly used feature of EOF, so you may run into bugs.
Chuck
ERRest. There are multiple presentations in the WOCommunity.
Found it! Thanks a lot :)
Cheers,
Gintas
|
_______________________________________________
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