Fwd: Eclipse SOA Tools Project support for SCA/Java dev with Tuscany

2007-01-29 Thread haleh mahbod
-- Forwarded message -- From: Oisin Hurley [EMAIL PROTECTED] Date: Jan 29, 2007 12:31 AM Subject: Eclipse SOA Tools Project support for SCA/Java dev with Tuscany To: tuscany-dev@ws.apache.org Hi all, Over at Eclipse STP we've made some progress on supporting SCA/Java service

Re: a bug: 'propertyName' attribute of Table element

2007-01-29 Thread Brent Daniel
This was fixed in TUSCANY-905. On 1/28/07, Sam Su [EMAIL PROTECTED] wrote: Hi all, I am using static data object, in my configuration file, I use propertyName attribute to map Table column to DataObject class's property, Table tableName=CCP_USER typeName=User Column

Re: a bug: insert databoject fail because the Relationship setting

2007-01-29 Thread Brent Daniel
The DAS will insert objects into the database when it detects a create event in the SDO change summary. Because your DataObject was created outside of your DataObject tree, I'm guessing that the even will not show up in the change summary. On 1/28/07, Sam Su [EMAIL PROTECTED] wrote: Hi all, I

java.lang.ClassCastException org.eclipse.emf.ecore.util.EcoreEList$Dynamic incompatible with commonj.sdo.DataObject

2007-01-29 Thread Christian Landbo Frederiksen
Hi I just ran into a classcast exception when I tried to call getList on a dataobject. I searched a bit for it and found this in the samples: PurchaseOrderControl.removeItem(int index) { // TODO: this is not working due to java.lang.ClassCastException: //

Re: java.lang.ClassCastException org.eclipse.emf.ecore.util.EcoreEList$Dynamic incompatible with commonj.sdo.DataObject

2007-01-29 Thread Frank Budinsky
I'm guessing that the property that your calling getList() for is single valued. You can only call getList() on a property if the property has Property.isMany == true. In other words, there's no automatic conversion from a single valued property value to List. Frank. Christian Landbo

RE: java.lang.ClassCastException org.eclipse.emf.ecore.util.EcoreEList$Dynamicincompatible with commonj.sdo.DataObject

2007-01-29 Thread Christian Landbo Frederiksen
It is Many: The thing it that is was during an analysis of a schema and the 'Many' property was not set in the DataObject. When dealing with a not 'many' property the get-method just returns null but when dealing with a 'many' property the getList resulted in the mentioned ClassCastException.

Re: java.lang.ClassCastException org.eclipse.emf.ecore.util.EcoreEList$Dynamicincompatible with commonj.sdo.DataObject

2007-01-29 Thread Yang ZHONG
Maybe the exception isn't from getList. For class casting such as (expectation)actualClassInstance, the exception looks like actualClass incompatible with expectation. I guess the exception is from (DataObject)value such as getDataObject. So in the mentioned sample: 1.DataObject items =

Root property that is not containment

2007-01-29 Thread Christian Landbo Frederiksen
Hi I have just started using this SDO-thing and I am very excited about it. I am using it to analyse xml-schemas and to generate and accept data for the given schemas. I have run into something (again). Lets say I am given a simple schema such as this: ?xml version=1.0 encoding=utf-8?

DAS can not save multi-table datas

2007-01-29 Thread zhuang johnyson
Hello, I am using static data object, in my configuration file: Table tableName=FM_TEST_CUSTOMER typeName=Customer Column columnName=USER_ID primaryKey=true / /Table Table tableName=FM_TEST_ORDER typeName=Order Column columnName=ORDER_ID primaryKey=true / /Table

Re: a bug: 'propertyName' attribute of Table element

2007-01-29 Thread Sam Su
thank you Brent.