Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ColdFusion Query to java.sql.ResultSet

I've looked in the "undocumentation", and I can see how to create a coldfusion.sql.QueryTable from a ResultSet, but not the other way around. So, how can I extract the java.sql.ResultSet from a ColdFusion ( coldfusion.sql.QueryTable ) query object?

like image 530
Joe Zack Avatar asked Dec 30 '22 01:12

Joe Zack


1 Answers

coldfusion.sql.QueryTable implements javax.sql.RowSet, which extends java.sql.ResultSet

Thus, as you discovered, you don't need to do anything. A ColdFusion query is already a Java ResultSet.

like image 78
Patrick McElhaney Avatar answered Jan 13 '23 11:01

Patrick McElhaney