Package com.querydsl.sql
Class SQLNoCloseListener
java.lang.Object
com.querydsl.sql.SQLBaseListener
com.querydsl.sql.SQLNoCloseListener
- All Implemented Interfaces:
SQLDetailedListener,SQLListener
SQLNoCloseListener can be used to block
SQLCloseListener from closing the connection, useful for
helper query executions-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidend(SQLListenerContext context) Called at the end of a query.voidstart(SQLListenerContext context) Called at the start of a query.Methods inherited from class com.querydsl.sql.SQLBaseListener
exception, executed, notifyDelete, notifyDeletes, notifyInsert, notifyInserts, notifyMerge, notifyMerges, notifyQuery, notifyUpdate, notifyUpdates, preExecute, prepared, prePrepare, preRender, rendered
-
Field Details
-
DEFAULT
-
-
Method Details
-
start
Description copied from interface:SQLDetailedListenerCalled at the start of a query. Most context parameters are empty at this stage- Specified by:
startin interfaceSQLDetailedListener- Overrides:
startin classSQLBaseListener- Parameters:
context- a context object that is progressively filled out as the query executes
-
end
Description copied from interface:SQLDetailedListenerCalled at the end of a query.- Specified by:
endin interfaceSQLDetailedListener- Overrides:
endin classSQLBaseListener- Parameters:
context- a context object that is progressively filled out as the query executes
-