org.deegree.io
Class IDGeneratorFactory
java.lang.Object
org.deegree.io.IDGeneratorFactory
public class IDGeneratorFactory
- extends java.lang.Object
Factory for IDGenerator-instances. The generated instance is suitable for the
database used and for the configuration (i.e. table and field type).
- Version:
- $Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Markus Schneider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDGeneratorFactory
public IDGeneratorFactory()
createIDGenerator
public static DataBaseIDGenerator createIDGenerator(java.sql.Connection con,
java.lang.String tableName,
java.lang.String fieldName)
throws java.sql.SQLException
- Parameters:
con
- tableName
- fieldName
-
- Returns:
- the id generator
- Throws:
java.sql.SQLException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org