Details
Description
When the FeatureStore.addFeatures(Colleciton) method is used try to use batch of statements to insert data in order to greatly speed up data transfer. This would allow for effiecient data copying towards a spatial db, especially when coupled with prepared statements.
In my experience there are situations where batch statements fail. A logfile overflow on the db side can be a reason for this.
Conclusion: Use batch statements where it is possible (btw, also works for non ps statements) but give the possibility to fall back
to normal statement handling. This assures that we can handle big tables without running in trouble.