You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Frank Budinsky (JIRA)" <tu...@ws.apache.org> on 2006/09/21 23:48:23 UTC
[jira] Resolved: (TUSCANY-741) ClassCastException while trying to
set a date property
[ http://issues.apache.org/jira/browse/TUSCANY-741?page=all ]
Frank Budinsky resolved TUSCANY-741.
------------------------------------
Resolution: Invalid
Working as designed.
> ClassCastException while trying to set a date property
> ------------------------------------------------------
>
> Key: TUSCANY-741
> URL: http://issues.apache.org/jira/browse/TUSCANY-741
> Project: Tuscany
> Issue Type: Bug
> Components: Java BigBank Scenario, Java SDO Implementation
> Affects Versions: Java-M2
> Reporter: Luciano Resende
> Fix For: Java-M2
>
>
> Getting exception while trying to set date property : stockPurchase.set("purchaseDate", new Date());
> Exception in thread "main" java.lang.ClassCastException: java.util.Date
> at com.bigbank.account.impl.StockSummaryImpl.eSet(StockSummaryImpl.java:514)
> at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:653)
> at org.apache.tuscany.sdo.impl.DataObjectImpl.set(DataObjectImpl.java:140)
> at org.apache.tuscany.sdo.util.DataObjectUtil.set(DataObjectUtil.java:726)
> at org.apache.tuscany.sdo.impl.DataObjectImpl.set(DataObjectImpl.java:223)
> at bigbank.account.services.accountdb.AccountDBInit.testStrockPurchaseThroughDAS(AccountDBInit.java:303)
> at bigbank.account.services.accountdb.AccountDBInit.main(AccountDBInit.java:461)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org