net.java.ao.types
Class TypeManager
java.lang.Object
net.java.ao.types.TypeManager
public final class TypeManager
- extends java.lang.Object
Central managing class for the ActiveObjects type system. The type
system in AO is designed to allow extensibility and control over
how specific data types are handled internally. All database-agnostic,
type-specific tasks are delegated to the actual type instances. This
class acts as a container for every available type, indexing
them based on corresponding Java type and JDBC integer type.
This container is thread safe and so may be used from within multiple
contexts.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getType
public <T> TypeInfo<T> getType(java.lang.Class<T> javaType)
getType
public <T> TypeInfo<T> getType(java.lang.Class<T> javaType,
TypeQualifiers qualifiers)
getTypeFromSchema
public TypeInfo<?> getTypeFromSchema(int jdbcType,
TypeQualifiers qualifiers)
derby
public static TypeManager derby()
hsql
public static TypeManager hsql()
mysql
public static TypeManager mysql()
postgres
public static TypeManager postgres()
sqlServer
public static TypeManager sqlServer()
oracle
public static TypeManager oracle()
Copyright © 2007-2012. All Rights Reserved.