Matt

Reactor beans intentionally accept/return strings for the setters/getters.
This is to make it much easier to use to back something like a web form.

The validate method confirms that the data is of the correct type, etc.

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Matt Woodward
Sent: Thursday, March 23, 2006 2:31 PM
To: [email protected]
Subject: [Reactor For CF] Data Type Weirdness

Be nice ... I'm a reactor newbie.  On an application we're working on
using SQL Server 2000, we're noticing that the data types in all our
Record objects are set to string.  We nuked the objects and had it
regenerate all of them (both the objects local to our app as well as
the ones in the Reactor "project" directory) but even though in the
database there are int, date, etc. data types, they all get set as
string in the Record object.

Before I spun my wheels too much I wanted to be sure that this wasn't
something someone had run into before that has a fix or if I'm just
missing something.

Thanks again to Doug--once we get this all figured out this is going
to be quite a time saver for us.  Great work!

Matt

--
Matt Woodward
[EMAIL PROTECTED]
http://www.mattwoodward.com

 

-- 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