I recently moved the application I have been working on from my local machine to a windows server. Both are using MySql5.0 , cfmx7, Apache2, mysql J connector 3.1.10, and the current Reactor codebase.

Whenever I perform a UserRecord.getUserID() on an integer field I am always returned a large value such as 4294967297 instead of a simple value userID of 2.  Text strings are returned fine.

Simple Example below:
<cfset UserRecord = Application.Reactor.createRecord("User")>
<cfset UserRecord.load( userID=2)>
<cfdump var="#UserRecord.getUserID()#">

returns 4294967297  (should be 2)

when i perform the following I receive a correct text string.
<cfdump var="#UserRecord.getUserName()#">


Also when I perform the following I am returned the expected set of uncorrupted data.
<cfset UserGateway= Application.Reactor.createGateway("User")>
<cfdump var="#UserGateway.getAll()#">

Any idea what would change when transferring my codebase &  db to the server that would cause something like this?  This error is occurring for all integer values for all my tables when I perform a get.

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

Reply via email to