public class DbMetaUtil
extends java.lang.Object
Constructor and Description |
---|
DbMetaUtil() |
Modifier and Type | Method and Description |
---|---|
static DbEntityColumnDescriptor |
resolveColumnDescriptors(DbEntityDescriptor dbEntityDescriptor,
PropertyDescriptor property,
boolean isAnnotated,
ColumnNamingStrategy columnNamingStrategy)
Resolves column descriptor from property.
|
static boolean |
resolveIsAnnotated(java.lang.Class<?> type)
Returns
true if class is annotated with DbTable annotation. |
static java.lang.Class[] |
resolveMappedTypes(java.lang.Class type)
Resolves mapped types from
DbMapTo annotation. |
static java.lang.String |
resolveSchemaName(java.lang.Class<?> type,
java.lang.String defaultSchemaName)
Resolves schema name from a type.
|
static java.lang.String |
resolveTableName(java.lang.Class<?> type,
TableNamingStrategy tableNamingStrategy)
Resolves table name from a type.
|
public static java.lang.String resolveTableName(java.lang.Class<?> type, TableNamingStrategy tableNamingStrategy)
public static java.lang.String resolveSchemaName(java.lang.Class<?> type, java.lang.String defaultSchemaName)
public static boolean resolveIsAnnotated(java.lang.Class<?> type)
true
if class is annotated with DbTable
annotation.public static DbEntityColumnDescriptor resolveColumnDescriptors(DbEntityDescriptor dbEntityDescriptor, PropertyDescriptor property, boolean isAnnotated, ColumnNamingStrategy columnNamingStrategy)
public static java.lang.Class[] resolveMappedTypes(java.lang.Class type)
DbMapTo
annotation.Copyright © 2003-present Jodd Team