I'm trying to use selectBatch and selectNext in a query manager that I am developing. When I call selectNext, I get a StackOverflowError.
Code Example:
foundVector = dataSource.selectBlock(state,
"aces.dataAccess.queries.cashIssuance.CashIssuance",
blockSize);
foundVector = dataSource.selectNext(foundVector, state,
"aces.dataAccess.queries.cashIssuance.CashIssuance");
foundVector: A vector for the results of the query
dataSource: An instance of CocoDriverInterface that has an open database connection.
state: A state object that implements CBProp
blockSize: 1000
The selectNext() method causes:
java.lang.StackOverflowError
at thought.CocoBase.CocoPowder.selectNext(CocoPowder.java, Compiled Code)
at thought.CocoBase.CocoPowderPlugin20.selectNext(CocoPowderPlugin20.java, Compiled Code)
at thought.CocoBase.CocoPowder.selectNext(CocoPowder.java, Compiled Code)
at thought.CocoBase.CocoPowderPlugin20.selectNext(CocoPowderPlugin20.java, Compiled Code)
at thought.CocoBase.CocoPowder.selectNext(CocoPowder.java, Compiled Code)
at thought.CocoBase.CocoPowderPlugin20.selectNext(CocoPowderPlugin20.java, Compiled Code)
.
.
.
at thought.CocoBase.CocoPowder.selectNext(CocoPowder.java, Compiled Code)
at thought.CocoBase.CocoPowderPlugin20.selectNext(CocoPowderPlugin20.java, Compiled Code)
at thought.CocoBase.CocoPowder.selectNext(CocoPowder.java, Compiled Code)
at thought.CocoBase.CocoPowderPlugin20.selectNext(CocoPowderPlugin20.java, Compiled Code)
at thought.CocoBase.CocoPowder.selectNext(CocoPowder.java, Compiled Code)
at thought.CocoBase.CocoPowderPlugin20.selectNext(CocoPowderPlugin20.java, Compiled Code)
at aces.dataAccess.queries.cashIssuanceBatch.CashIssuanceQuery.findByState(CashIssuanceQuery.java, Compiled Code)
at aces.dataAccess.queries.cashIssuanceBatch.CashIssuanceTest.main(CashIssuanceTest.java, Compiled Code)
Any ideas?
|