mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 06:57:24 +00:00
#301 - MySQL specific issue - java.sql.SQLException: Streaming result set com.mysql.jdbc.RowDataDynamic@3ef4415f is still active. No statements may be issued when any streaming result sets a re open and in use on a given connection. Ensure that you have called .close() on any active streaming result sets before attempting more queries
This commit is contained in:
1 parent
8fe91f66c0
commit
0013cb1a76
6 files changed
+61
-11
No files matched your search
@@ -48,4 +48,11 @@ public abstract class LoadRequest {
|
||||
return transaction;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if the parent query is a findIterate() type query.
|
||||
* So one of - findIterate(), findEach(), findEachWhile() or findVisit().
|
||||
*/
|
||||
public boolean isParentFindIterate() {
|
||||
return parentRequest != null && parentRequest.getQuery().getType() == SpiQuery.Type.ITERATE;
|
||||
}
|
||||
}
|
||||
@@ -51,6 +51,11 @@ public interface SpiQuery<T> extends Query<T> {
|
||||
*/
|
||||
BEAN,
|
||||
|
||||
/**
|
||||
* Find iterate type query - findEach(), findIterate() etc.
|
||||
*/
|
||||
ITERATE,
|
||||
|
||||
/**
|
||||
* Find returning a List.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user