Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get fixed size of data from Stored Poc using Ibatis  RSS feed

 
Anish Kuti
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using stored procedure and inside that a cursor will return data to my Ibatis Layer.
Now I have see in some cases the data size is huge (1lakh) . My JVM will not be able to hold that size of data .
How i can set a Max size of data using ibatis ? say I will just return only first 1000 row , no more than that .

Note:I know it can be using by changing SP , but is anything can be done in Ibatis layer to ask my procedure to return only 1000 row.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!