by Didier >> Wed, 29 Jul 2009 1:46:34 GMT
hi:
We develope a system , customer can create an order on web.
My Web is .net(C#) and DB is Jade.
we define class Order which has the following properties:
.qty : Integer
.unitPrice : Decimal[12,2]
the following code fragement:
=================================================================================== process.BeginTransaction(JomTransactionType.Persistent);
Order order = new Order(ClassPersistence.Persistent);
...
order.SetQty( 1 );
order.SetUnitPrice( 100.00 );
...
process.CommitTransaction(JomTransactionType.Persistent);
===================================================================================
we found that in Jade for this order qty=1, but unitPrice=0;
By my testing, we can set Integer , String and reference properties value correctly,
but Decimal properties value can not be set.
What's wrong? How to walk around ?
Attached is Exposured Order class file.
Appreciate for any help.
Didier
2009.7.29