This happened to me when the query qFields in the readFields function of 
reactor/data/mssql/ObjectDAO.cfc wasn't returning true or false for primarykey, 
identity, and nullable in the Select.  The other option is 
reactor/xsl/dao.project.xsl has changed.  I would try running the qFields query 
MSSQL by hand with troublesome table inserted in the appropriate parts and 
seeing what it returns.

-Nate


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Dan Vega
Sent: Wed 7/19/2006 8:26 PM
To: [email protected]
Subject: Re: [Reactor for CF] DAO generation problem
 
no mssql

On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Are you using Oracle?
>
> -----Original Message-----
> From: [EMAIL PROTECTED] on behalf of Dan Vega
> Sent: Wed 7/19/2006 6:18 PM
> To: [email protected]
> Subject: [Reactor for CF] DAO generation problem
>
> Maybe I am doing something wrong but all of a sudden my dao's are not
> being
> generated correctly. This is what my save() methods look like
>
>     <cffunction name="save" access="public" hint="I create or update a
> step
> record." output="false" returntype="void">
>         <cfargument name="to" hint="I am the transfer object for step"
> required="yes" type="reactor.project.cm.To.stepTo" />
>
>
>         <cfset create(arguments.to) />
>
>     </cffunction>
>
> And my delete method looks like this
>
>
>     <cffunction name="delete" access="public" hint="I delete a record in
> the
> step table." output="false" returntype="void">
>         <cfargument name="to" hint="I am the transfer object for step
> which
> will be used to delete from the table." required="yes" type="
> reactor.project.cm.To.stepTo" />
>         <cfset var Convention = getConventions() />
>         <cfset var qDelete = 0 />
>
>         <cfquery name="qDelete" datasource="#_getConfig().getDsn()#"
> username="#_getConfig().getUsername()#"
> password="#_getConfig().getPassword()#">
>             DELETE FROM #Convention.FormatObjectName(getObjectMetadata())#
>             WHERE
>
>         </cfquery>
>
>     </cffunction>
>
>
> Am I doing something wrong?
>
>
>
> --
> Dan Vega
> [EMAIL PROTECTED]
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> 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/
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
>
>


-- 
Dan Vega
[EMAIL PROTECTED]


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

<<winmail.dat>>

Reply via email to