I am working on an application which is using Spring DAO + hibernate structure to deal with database.
I want to insert bulk of rows (20000 approx) in oracle database using hibernate, but using .save() is very slow.
I learned that using StateLess session this can be done, but because all sessions are managed through BaseDaoImp class, i don't know how to create stateless sessions in this design pattern.
Please help if anybody knows how to implement this.