org.deegree_impl.io
Class IDGeneratorFactory

java.lang.Object
  extended byorg.deegree_impl.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: 1.2 $ $Date: 2004/03/11 12:52:43 $
Author:
Markus Schneider

Constructor Summary
IDGeneratorFactory()
           
 
Method Summary
static IDGenerator createIDGenerator(java.sql.Connection con, java.lang.String tableName, java.lang.String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDGeneratorFactory

public IDGeneratorFactory()
Method Detail

createIDGenerator

public static IDGenerator createIDGenerator(java.sql.Connection con,
                                            java.lang.String tableName,
                                            java.lang.String fieldName)
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException