After the issue I was having with the Verity plugin dieing because 'builttodate' was empty I updated my gateway to use an objects default value, if it had one
<cfif propertyValue EQ "" AND NOT tableDef[field].nullable
AND tableDef[#field#].DEFAULT NEQ "">
<cfset propertyValue = tableDef[#field#].DEFAULT />
</cfif>
Is this a bad idea?
Full file attached (line 267)
--
AJ Mercer
Web Log: http://webonix.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-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/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---
OracleGateway.cfc
Description: application/cfc
