Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to control number of records in batch insert by eclipselink

user2363353Jan 19 2012 — edited Jan 23 2012
Hi,

We are using eclipselink(2.2) to persist objects and we use following configuration -

<property name="eclipselink.jdbc.batch-writing" value="Oracle-JDBC" />
<property name="eclipselink.jdbc.batch-writing.size" value="5" />

however the number of records inserted is much more than 5( I have seen 5000 records being inserted ). How can we control the number of records inserted once?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2012
Added on Jan 19 2012
3 comments
407 views