org.deegree.feature.persistence.sql.insert
Class InsertRowManager
java.lang.Object
  
org.deegree.feature.persistence.sql.insert.InsertRowManager
public class InsertRowManager
- extends Object
 
Performs inserts in courtesy of the SQLFeatureStoreTransaction.
 
 The strategy aims for:
 
 - Streaming / low memory footprint
 
 - Feature references must not be resolved
 
 - Usability for complex structures / mappings
 
 - Auto-generated columns (feature ids)
 
 - Forward xlink references
 
 - Backward xlink references
 
 
 
 TODO strategy for cyclic foreign keys (at least detection)
- Version:
 
  - $Revision: 32160 $, $Date: 2011-10-19 00:04:00 +0200 (Wed, 19 Oct 2011) $
 
- Author:
 
  - Markus Schneider, last edited by: $Author: mschneider $
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
InsertRowManager
public InsertRowManager(SQLFeatureStore fs,
                        Connection conn)
insertFeature
public InsertFID insertFeature(Feature feature,
                               FeatureTypeMapping ftMapping,
                               IDGenMode mode)
                        throws SQLException,
                               FeatureStoreException,
                               FilterEvaluationException
- Inserts the specified feature (relational mode).
- Parameters:
 f - feature instance to be inserted, must not be nullftMapping - mapping of the corresponding feature type, must not be nullidGenMode - feature id generation mode, must not be null
- Returns:
 - id of the stored feature, never 
null
 - Throws:
 SQLException
FeatureStoreException
FilterEvaluationException
 
 
Copyright © 2011. All Rights Reserved.