-- 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
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
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
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:
//
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
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.
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 =
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?
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
thank you Brent.
10 matches
Mail list logo