You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by kelvin goodson <ke...@gmail.com> on 2006/11/22 12:30:58 UTC
Re: SDO bug..
Hello Raghu
I think you have the Eclipse EMF SDO 1 implementation on your classpath.
Regards, Kelvin.
On 22/11/06, Raghu Ram Sripada <ra...@gmail.com> wrote:
>
> Hi Kelvin,
>
> I was trying to write my first app using DAS and while using the M2 drop I
> found the following:
>
> in SDOUtil.java in the createProperty method I saw the following code:
>
> propertyType.isDataType() ?
> (EStructuralFeature)SDOFactory.eINSTANCE.createAttribute() :
> (EStructuralFeature)SDOFactory.eINSTANCE.createReference();
>
> But I do not see the method isDataType in commonj.sdo.Type.
>
> Are you planning to introduce this method later or am I using a wrong
> source?
>
> Regards
>
> -Raghuram
>
> PS: Here is the stack trace:
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> commonj.sdo.Type.isDataType()Z
>
> at org.apache.tuscany.sdo.util.SDOUtil.createProperty(
> *SDOUtil.java:500*)
>
> at
> org.apache.tuscany.das.rdb.graphbuilder.impl.GraphBuilderMetadata.createDynamicTypes
> (
> *GraphBuilderMetadata.java:126* )
>
> at
> org.apache.tuscany.das.rdb.graphbuilder.impl.GraphBuilderMetadata.getRootType
> (
> *GraphBuilderMetadata.java:91*)
>
> at org.apache.tuscany.das.rdb.impl.ReadCommandImpl.buildGraph(
> *ReadCommandImpl.java:88*)
>
> at org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(
> *ReadCommandImpl.java:63*)
>
>
>
Re: SDO bug..
Posted by Raghuram Sripada <ra...@gmail.com>.
Kelvin,
Thanks for your prompt response.
You are right, I have Eclipse EMF implementation in my classpath.. I changed the order and it is working fine now.
Regards,
-Raghuram
----- Original Message -----
From: kelvin goodson
To: Raghu Ram Sripada
Cc: Tuscany Users
Sent: Wednesday, November 22, 2006 5:00 PM
Subject: Re: SDO bug..
Hello Raghu
I think you have the Eclipse EMF SDO 1 implementation on your classpath.
Regards, Kelvin.
On 22/11/06, Raghu Ram Sripada < raghusripada@gmail.com> wrote:
Hi Kelvin,
I was trying to write my first app using DAS and while using the M2 drop I found the following:
in SDOUtil.java in the createProperty method I saw the following code:
propertyType.isDataType() ? (EStructuralFeature)SDOFactory.eINSTANCE.createAttribute() : (EStructuralFeature)SDOFactory.eINSTANCE.createReference();
But I do not see the method isDataType in commonj.sdo.Type.
Are you planning to introduce this method later or am I using a wrong source?
Regards
-Raghuram
PS: Here is the stack trace:
Exception in thread "main" java.lang.NoSuchMethodError: commonj.sdo.Type.isDataType()Z
at org.apache.tuscany.sdo.util.SDOUtil.createProperty(
SDOUtil.java:500)
at org.apache.tuscany.das.rdb.graphbuilder.impl.GraphBuilderMetadata.createDynamicTypes(
GraphBuilderMetadata.java:126 )
at org.apache.tuscany.das.rdb.graphbuilder.impl.GraphBuilderMetadata.getRootType(
GraphBuilderMetadata.java:91)
at org.apache.tuscany.das.rdb.impl.ReadCommandImpl.buildGraph(
ReadCommandImpl.java:88)
at org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(
ReadCommandImpl.java:63)