1. Hibernate Session.SaveOrUpdate method is calling select before every item - is there a way to batch these selects? stackoverflow.comI am using java/hibernate/mysql. I am creating a list of objects which i want to save to the database. Some of the items are new and some of them are already ... |
2. saveOrUpdate for a list of 5000 or more objects or batch Upd forum.hibernate.orgHi guys, I am reading a file which is exact replica of database table. I read each line and convert it into an object and place it in a list. After this, I call the saveOrUpdate() function on each object by iterating over the list. So that if there is any change in the file that is updated in database too. ... |