Phil,
Instead of returing the Java Resultset which is a true ResultSet, you have
to Convert resultSet to ColdFusion QueryTable()
You will need the cfusion.jar file.. when you compile your code..
Results rs.. whatever..
QueryTable qt = new QueryTable(rs);
return qt;
I am pretty sure.. the class is QueryTable.. double check that.
Hope this helps
Joe Eugene
----- Original Message -----
From: "Phil Spitler" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 10:14 AM
Subject: Re: java recordset to cf recordset
> Okay, does anyone have a class that makes it easy to convert a ResultSet
> to a Query? For example, something like:
>
> public class CFResultSet implements java.sql.ResultSet,
> com.allaire.cfx.Query {
>
> public CFResultSet(ResultSet) {
>
> }
>
> ...
> }
>
> --
> Phil Spitler [Applications Developer]
> American City Business Journals
> p: 704.973.1049
> f: 704.973.8049
> e: [EMAIL PROTECTED]
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4