Hi all,

I am struggling with the use of Transfer on Railo. I got a table for
orders, that holds an orderCompleted field. The field has the NULL
value if not completed, and a timestap when it is.

But I can't do a 'get' with Transfer on the object, once instantiated.
I can create an object just fine, it creates it with the Null values
in the DB on save. But when I try to retreive that same object from
Transfer, I get an error saying:

 invalid call of the function setorderCompleted, first Argument
(orderCompleted) is of invalid type, can't cast String [] to a value
of type [date]

But isn't Transfer supposed to transform and handle the Null value? In
the Transfer config, I have the following code:

<property name="orderCompleted" type="date" column="orderCompleted"
nullable="true" />

And I even tell them what the NULL value should be:

<nullValues>
        <date value="1/1/100" />
</nullValues>

And I have created a decorator with a config option:

<cffunction name="configure" access="private" returntype="void"
output="false">
        <cfset setMMG_SendtoAdyenNull()>
        <cfset setOrdercompletedNull()>
</cffunction>

But nothing helps!

What am I doing wrong?

My development environment is a Linux machine, RAILO 3 with Resin,
Coldbox and Transfer.

I hope you can help!

Kind regards,

Erik-Jan

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

Reply via email to