| java.lang.Object org.geotools.data.jdbc.JDBCFeatureWriter org.geotools.data.jdbc.JDBCPSFeatureWriter
JDBCPSFeatureWriter | abstract public class JDBCPSFeatureWriter extends JDBCFeatureWriter (Code) | | An abstract class that uses prepared statements to insert, update and delete
features from the database. Useful when the resultset got from the database
is not updatable, and to get peak performance thru the use of prepared
statements and batch updates.
Assumptions made by the code:
-
if the primary key contains auto-increment columns, it is composed solely of
auto-increment columns;
-
the primary key never contains geometric attributes;
author: Andrea Aime |
getGeometryPlaceHolder | abstract protected String getGeometryPlaceHolder(AttributeType type)(Code) | | Returns the placeholder for the geometry in the insert/update statement.
May be something like "?", "geomFromBinary(?)" and so on, that is, the
geometry itself of some function that turns whatever the geometric
AttributeIO generates into a geometry for the database.
Parameters: type - |
|
|