I'm pretty sure ColdFusion does not provide such a mechanism. As a language, he was supposed to distract the developer from such things.
I suggest you explore a few options:
- Repeat your query to use pagination and run it in a loop.
- Use the
timeout attribute in <cfquery> to prevent timeout. - Use the
CreateObject() syntax to create a connection to the JDBC database.
With the latter option, what you are actually doing is accessing the Java base classes to execute queries and get results. Check out this article to quickly see the CreateObject() function.
You can also look at Adobe Livedocs for a feature , but they really don't seem useful.
I have not tried using CreateObject() to execute queries with Java database access classes, but I assume that you can probably get it working.
source share