SELECT Statements Batch Fetching with JDBC and Hibernate.Introduction. Now that I covered Hibernate batch support for INSERT, UPDATE and DELETE statements, its time to analyze SELECT statements result set batch fetching.JDBC Result. Set Fetching.The JDBC Result. Set offers a client side Proxy cursor for fetching the current statement return data.When the statement gets executed, the result must be transferred from the database cursor to the client side one.This operation can either be done at once or on demand.There are three types of Result. Microsoft Media Center Usb Ir Receiver Transmitter . Set cursors Cursor Type.Description. TYPEFORWARDONLYThis is the default Result.Set cursor type. The result set can only be moved forward and the resulted data can either be fetched at once or retrieved while the cursor is being iterated.The database can decide to fetch the data as it was available at the time the query started or as it is upon fetching.TYPESCROLLINSENSITIVEThe result set can be scrolled both forward and backward and the resulted data is insensitive to concurrent changes occurring while the cursor is still open.TYPESCROLLSENSITIVEThe result set can be scrolled both forward and backward and the resulted data is sensitive to concurrent changes occurring while the cursor is still open.NNjxeW9ewEc/TLSL4-bgVYI/AAAAAAAAKsE/2cV3KEsovaw/tmp9D168_thumb.png?imgmax=800' alt='Bulk Save Or Update In Hibernate Session' title='Bulk Save Or Update In Hibernate Session' />
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |