Skip to main content



      Home
Home » Archived » BIRT » EMF Cross Reference : Resolve eProxy ?(How resolve Ecore cross reference of Metamodel in Dataset)
EMF Cross Reference : Resolve eProxy ? [message #1048201] Wed, 24 April 2013 02:55 Go to next message
Eclipse UserFriend
I have a Ecore with a cross reference to an other Ecore. I use ODA Driver with OCL request to access datas of Ecore instance.

I can't access to Ecore EClass of a cross reference. When my OCL request must return a referenced type, I can't specify result type because other Ecore types didn't appear in choices dialog.

Other problem is that returned Java Object is an EMF Proxy and I can't use it without resolve it before.

How can I resolve cross Reference in DataSet ?
Re: EMF Cross Reference : Resolve eProxy ? [message #1048521 is a reply to message #1048201] Wed, 24 April 2013 11:30 Go to previous messageGo to next message
Eclipse UserFriend
Gabriel,

The general cause of proxies failing to resolve is not loading the
initial resource with an absolute URI, e.g., if it's from the file
system, you should use something line file:/c:/path/file.xtension.


On 24/04/2013 2:49 PM, Gabriel Pascual wrote:
> I have a Ecore with a cross reference to an other Ecore. I use ODA
> Driver with OCL request to access datas of Ecore instance.
> I can't access to Ecore EClass of a cross reference. When my OCL
> request must return a referenced type, I can't specify result type
> because other Ecore types didn't appear in choices dialog.
>
> Other problem is that returned Java Object is an EMF Proxy and I can't
> use it without resolve it before.
>
> How can I resolve cross Reference in DataSet ?
Re: EMF Cross Reference : Resolve eProxy ? [message #1049916 is a reply to message #1048521] Fri, 26 April 2013 08:54 Go to previous message
Eclipse UserFriend
Thank's Ed,

Indeed to solve this problem, I changed resource loading. Your answer confirms the good practices to load a resource.
Previous Topic:Connection Closes for SQL Server 2008 R2
Next Topic:NPE in birt 4.2.2
Goto Forum:
  


Current Time: Mon Apr 28 13:08:51 EDT 2025

Powered by FUDForum. Page generated in 0.03861 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top