Set timeout for BatchQueryItr


Hello Support,

For an unknow reason, some of my object query never finish ( deadlock maybe ). 

My tomcat temp directory is full of "BatchQueryItr" files.

I can't found the origin of the issue but i wonder if it's possible to put a timeout for too long query.




Here is the stack trace of blocked threads : ( )

com.objectdb.o.OBM.close ( )
sun.reflect.GeneratedMethodAccessor1518.invoke ( unknown source )
sun.reflect.DelegatingMethodAccessorImpl.invoke ( )
java.lang.reflect.Method.invoke ( )
org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke ( )
com.sun.proxy.$Proxy246.close ( unknown source )


You can set a query execution timeout as a query hint.

The many BatchQueryItr files may indicate a complex query on a lot of data with no sufficient indexes.

If there is a deadlock, please post a full thread dump (which should also show the deadlock).

ObjectDB Support