http://static.springsource.org/sprin...ng.Iterable%29 claims that CrudRepository supports bulk inserts. Is this in fact true or does this method simply call save(T entity) in a loop?
http://static.springsource.org/sprin...ng.Iterable%29 claims that CrudRepository supports bulk inserts. Is this in fact true or does this method simply call save(T entity) in a loop?
Marcel Stör, http://www.frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Oh yes, it does indeed: https://github.com/SpringSource/spri...tory.java#L366
So, the question remains: how to do real bulk inserts with Spring Data JPA?
Marcel Stör, http://www.frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
I summarized my findings here: http://frightanic.com/software-devel...batch-inserts/
Last edited by marcelstoer; Feb 19th, 2013 at 01:47 PM.
Marcel Stör, http://www.frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org