I am uploading a 3GB of file through hibernate into DB.The flow of my functionality is,
1)Read the file character by character and add into a collection object.
2)I am checking size of collection object if it is 100 than this collection object i am pushing into DB using Hibernate.
3)when i come back to reading the file ,I am getting file not found exception.
The following is code for reading and pushing to DB:
Please look into this and let me know how to suspand and resume the file reading back.
JCE: please use code tags