public interface JavaTypeResolver
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addConfigurationProperties(java.util.Properties properties)
Adds properties for this instance from any properties configured in the
JavaTypeResolverConfiguration.
|
FullyQualifiedJavaType |
calculateJavaType(IntrospectedColumn introspectedColumn)
Calculates and returns the Java type that should be associated with this
column based on the jdbc type, length, and scale of the column.
|
java.lang.String |
calculateJdbcTypeName(IntrospectedColumn introspectedColumn)
Calculates and returns the JDBC type name that should be associated with
this column based on the jdbc type, length, and scale of the column.
|
void |
setContext(Context context)
Sets the instance of the Context object associated with this instance.
|
void |
setWarnings(java.util.List<java.lang.String> warnings)
The generator will supply a list to this method.
|
void addConfigurationProperties(java.util.Properties properties)
properties - All properties from the configurationvoid setContext(Context context)
context - The current Contextvoid setWarnings(java.util.List<java.lang.String> warnings)
warnings - the new warningsFullyQualifiedJavaType calculateJavaType(IntrospectedColumn introspectedColumn)
introspectedColumn - the column whose Java type needs to be calculatedjava.lang.String calculateJdbcTypeName(IntrospectedColumn introspectedColumn)
introspectedColumn - the column whose Java type needs to be calculatedCopyright © 2018. All Rights Reserved.