public class MetadataDbTypeManager extends Object implements DbTypeManager
| Constructor and Description |
|---|
MetadataDbTypeManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initialise(DbConnection connection) |
static boolean |
isTypeDerivedFrom(DbType type,
DbType baseType) |
DbType |
lookup(DbConnection connection,
int id,
String name)
Finds a mapping for a given type ID and name
|
DbType |
lookup(DbConnection connection,
String name)
Finds a mapping for a given type name
|
protected void |
registerType(DbType dbType) |
protected void registerType(DbType dbType)
public DbType lookup(DbConnection connection, int id, String name) throws UnknownDbTypeException
DbTypeManagerlookup in interface DbTypeManagerconnection - connection used to connect to the database if requiredid - type IDname - type nameUnknownDbTypeException - when there is no managed type with the given ID and namepublic DbType lookup(DbConnection connection, String name) throws UnknownDbTypeException
DbTypeManagerlookup in interface DbTypeManagerconnection - connection used to connect to the database if requiredname - type nameUnknownDbTypeException - when there is no managed type with the given nameprotected void initialise(DbConnection connection)
Copyright © 2025. All rights reserved.