org.geotools.data.jdbc
Class JDBCDataStore

Object
  extended by JDBC1DataStore
      extended by JDBC2DataStore
          extended by JDBCDataStore
All Implemented Interfaces:
DataAccess<SimpleFeatureType,SimpleFeature>, DataStore
Direct Known Subclasses:
DB2DataStore, PostgisDataStore

public abstract class JDBCDataStore
extends JDBC2DataStore

Abstract class for JDBC (level2) based DataStore implementations. This a convenience class that just extends JDBC2DataStore to keep current datastores that use it happy. Eventually datastores should extend one of JDBC1DataStore, or JDBC2DataStore.

This class provides a default implementation of a JDBC data store. Support for vendor specific JDBC data stores can be easily added to Geotools by subclassing this class and overriding the hooks provided.

At a minimum subclasses should implement the following methods:

Additionally subclasses can optionally override the following:

Additionally subclasses may want to set the value of:

Author:
Amr Alam, Refractions Research, Sean Geoghegan, Defence Science and Technology Organisation, Chris Holmes, TOPP, Andrea Aime
Module:

Field Summary
 
Fields inherited from class JDBC2DataStore
dataSource
 
Fields inherited from class JDBC1DataStore
allowWriteOnVolatileFIDs, config, listenerManager, LOGGER, sqlNameEscape, transactionIsolation, TYPE_MAPPINGS, typeHandler
 
Constructor Summary
protected JDBCDataStore(DataSource dataSource, JDBCDataStoreConfig config)
           
 
Method Summary
 
Methods inherited from class JDBC2DataStore
createConnection, dispose, finalize
 
Methods inherited from class JDBC1DataStore
allowTable, allSameOrder, attributeNames, buildAttributeType, buildFIDMapper, buildFIDMapperFactory, buildSchema, createFeatureReader, createFeatureWriter, createLockingManager, createSchema, determineFidColumnName, determineSRID, executeQuery, executeQuery, getAttributeIO, getAttributeTypes, getConcurrency, getConnection, getDatabaseSchemaName, getEnvelope, getFeatureReader, getFeatureReader, getFeatureSource, getFeatureSource, getFeatureTypeHandler, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getFIDMapper, getFIDMapperFactory, getGeometryAttributeIO, getInfo, getJDBCFeatureReader, getLockingManager, getNames, getNameSpace, getResultSetType, getSchema, getSchema, getSqlBuilder, getSqlNameEscape, getSupportedHints, getTransactionIsolation, getTypeNames, getView, propertyNames, requireAutoCommit, setAutoCommit, setFIDMapper, setFIDMapperFactory, setSqlNameEscape, setTransactionIsolation, updateSchema, updateSchema
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCDataStore

protected JDBCDataStore(DataSource dataSource,
                        JDBCDataStoreConfig config)
                 throws IOException
Throws:
IOException


Copyright © 1996-2009 Geotools. All Rights Reserved.