I think Sean is right on target. Your own class return a QueryTable object
and there is no constructor in ColdFusion QueryTable class that matches that
argument. I would assume if you can modify your custom class to return a
Java ResultSet object instead, it should work.

Thanks

Qasim

On 6/13/07, Sean Corfield <[EMAIL PROTECTED]> wrote:
>
> On 6/13/07, Andrea Botta <[EMAIL PROTECTED]> wrote:
> > <cfset pra = createObject("Java", "Pratica").init(glb,dbprop)>
> > <cfset ourQuery =createObject("java"," coldfusion.sql.QueryTable").init(
> > pra.search())>
>
> Since pra.search() returns a QueryTable already, can't you just say this:
>
> <cfset ourQuery = pra.search() >
>
> Maybe the QueryTable constructor doesn't match how you're using it and
> ColdFusion cannot figure out how to construct it?
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281003
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to