Can you check to make sure the Id's are set as primary keys in the database itelf.

If so, post the <objects> section of your reactor.xml file.

Thanks,
Doug Sims
www.evenamonkey.com

On 7/13/06, Alan Dix <[EMAIL PROTECTED]> wrote:
We are just getting started with Reactor, using the documented examples.
 
Stuck on this error:
Invalid data for CFSQLTYPE CF_SQL_INTEGER.

  The error occurred in C:\Inetpub\wwwroot\reactor\base\abstractGateway.cfc: line 288
Called from C:\Inetpub\wwwroot\reactor\project\Example\Gateway\AddressGateway.cfc: line 85
Called from C:\Inetpub\wwwroot\reactor\project\Example\Dao\AddressDao.cfc: line 132
Called from C:\Inetpub\wwwroot\reactor\project\Example\Record\AddressRecord.cfc: line 200
Called from C:\Inetpub\wwwroot\reactor\project\Example\Record\CustomerRecord.cfc: line 270
Called from C:\Inetpub\wwwroot\exampleReactorCode\recordObjectPage.cfm: line 6

286 :                                 
287 :                          </cfloop>

288 :                  </cfif>
289 :                  
290 :                  <!---<cfif getObjectMetadata().getName() IS "Contact">

 

 

<cfset Reactor = CreateObject("Component", "reactor.reactorFactory").init(expandPath("reactor.xml")) />

<!--- create a user Record --->

<cfset CustomerRecord = Reactor.createRecord("Customer") />

it fails on the line above.
 
Alan
 


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to