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?
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.
事实证明我所要做的就是传递我的coldfusion.sql.QueryTable对象...不知道它为什么会起作用,除非ColdFusion在引擎盖下做某种魔法铸造。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.