org.codehaus.modello.generator.database.type
Class TypesFactory

java.lang.Object
  extended by org.codehaus.modello.generator.database.type.TypesFactory

public class TypesFactory
extends java.lang.Object

Factory for constructing Types from database meta data

Version:
1.1 2003/02/05 08:08:37
Author:
Tim Anderson

Constructor Summary
TypesFactory()
           
 
Method Summary
static Types create(java.sql.Connection connection)
          Construct a new Types, using meta-data obtained from a database connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypesFactory

public TypesFactory()
Method Detail

create

public static Types create(java.sql.Connection connection)
                    throws java.sql.SQLException
Construct a new Types, using meta-data obtained from a database connection

Parameters:
connection - the database connection to obtain meta-data from
Throws:
java.sql.SQLException - if meta-data cannot be accessed


Copyright © 2001-2007 Codehaus. All Rights Reserved.