Package | Description |
---|---|
org.apache.ibatis.builder |
Base package for the Configuration building code
|
org.apache.ibatis.jdbc |
TODO fillme.
|
org.apache.ibatis.mapping |
TODO fillme.
|
org.apache.ibatis.session |
Base package.
|
org.apache.ibatis.type |
Type handlers.
|
Modifier and Type | Method and Description |
---|---|
protected JdbcType |
BaseBuilder.resolveJdbcType(String alias) |
Modifier and Type | Method and Description |
---|---|
Discriminator |
MapperBuilderAssistant.buildDiscriminator(Class<?> resultType,
String column,
Class<?> javaType,
JdbcType jdbcType,
Class<? extends TypeHandler<?>> typeHandler,
Map<String,String> discriminatorMap) |
ParameterMapping |
MapperBuilderAssistant.buildParameterMapping(Class<?> parameterType,
String property,
Class<?> javaType,
JdbcType jdbcType,
String resultMap,
ParameterMode parameterMode,
Class<? extends TypeHandler<?>> typeHandler,
Integer numericScale) |
ResultMapping |
MapperBuilderAssistant.buildResultMapping(Class<?> resultType,
String property,
String column,
Class<?> javaType,
JdbcType jdbcType,
String nestedSelect,
String nestedResultMap,
String notNullColumn,
String columnPrefix,
Class<? extends TypeHandler<?>> typeHandler,
List<ResultFlag> flags)
Backward compatibility signature
|
ResultMapping |
MapperBuilderAssistant.buildResultMapping(Class<?> resultType,
String property,
String column,
Class<?> javaType,
JdbcType jdbcType,
String nestedSelect,
String nestedResultMap,
String notNullColumn,
String columnPrefix,
Class<? extends TypeHandler<?>> typeHandler,
List<ResultFlag> flags,
String resultSet,
String foreignColumn,
boolean lazy) |
Modifier and Type | Method and Description |
---|---|
JdbcType |
Null.getJdbcType() |
Modifier and Type | Method and Description |
---|---|
JdbcType |
ResultMapping.getJdbcType() |
JdbcType |
ParameterMapping.getJdbcType()
Used in the UnknownTypeHandler in case there is no handler for the property type
|
Modifier and Type | Method and Description |
---|---|
ResultMapping.Builder |
ResultMapping.Builder.jdbcType(JdbcType jdbcType) |
ParameterMapping.Builder |
ParameterMapping.Builder.jdbcType(JdbcType jdbcType) |
Modifier and Type | Field and Description |
---|---|
protected JdbcType |
Configuration.jdbcTypeForNull |
Modifier and Type | Method and Description |
---|---|
JdbcType |
Configuration.getJdbcTypeForNull() |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.setJdbcTypeForNull(JdbcType jdbcTypeForNull) |
Modifier and Type | Method and Description |
---|---|
static JdbcType |
JdbcType.forCode(int code) |
static JdbcType |
JdbcType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JdbcType[] |
JdbcType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<T> TypeHandler<T> |
TypeHandlerRegistry.getTypeHandler(Class<T> type,
JdbcType jdbcType) |
TypeHandler<?> |
TypeHandlerRegistry.getTypeHandler(JdbcType jdbcType) |
<T> TypeHandler<T> |
TypeHandlerRegistry.getTypeHandler(TypeReference<T> javaTypeReference,
JdbcType jdbcType) |
boolean |
TypeHandlerRegistry.hasTypeHandler(Class<?> javaType,
JdbcType jdbcType) |
boolean |
TypeHandlerRegistry.hasTypeHandler(TypeReference<?> javaTypeReference,
JdbcType jdbcType) |
void |
TypeHandlerRegistry.register(Class<?> javaTypeClass,
JdbcType jdbcType,
Class<?> typeHandlerClass) |
<T> void |
TypeHandlerRegistry.register(Class<T> type,
JdbcType jdbcType,
TypeHandler<? extends T> handler) |
void |
TypeHandlerRegistry.register(JdbcType jdbcType,
TypeHandler<?> handler) |
void |
BigDecimalTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
BigDecimal parameter,
JdbcType jdbcType) |
void |
BigIntegerTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
BigInteger parameter,
JdbcType jdbcType) |
void |
BooleanTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Boolean parameter,
JdbcType jdbcType) |
void |
ByteArrayTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
byte[] parameter,
JdbcType jdbcType) |
void |
BlobTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
byte[] parameter,
JdbcType jdbcType) |
void |
ByteObjectArrayTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Byte[] parameter,
JdbcType jdbcType) |
void |
BlobByteObjectArrayTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Byte[] parameter,
JdbcType jdbcType) |
void |
ByteTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Byte parameter,
JdbcType jdbcType) |
void |
CharacterTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Character parameter,
JdbcType jdbcType) |
void |
TimeOnlyTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JdbcType jdbcType) |
void |
SqlDateTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JdbcType jdbcType) |
void |
DateTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JdbcType jdbcType) |
void |
DateOnlyTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JdbcType jdbcType) |
void |
DoubleTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Double parameter,
JdbcType jdbcType) |
void |
EnumTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
E parameter,
JdbcType jdbcType) |
void |
EnumOrdinalTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
E parameter,
JdbcType jdbcType) |
void |
FloatTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Float parameter,
JdbcType jdbcType) |
void |
IntegerTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Integer parameter,
JdbcType jdbcType) |
void |
LongTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Long parameter,
JdbcType jdbcType) |
void |
UnknownTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Object parameter,
JdbcType jdbcType) |
void |
ObjectTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Object parameter,
JdbcType jdbcType) |
void |
ArrayTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Object parameter,
JdbcType jdbcType) |
void |
ShortTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Short parameter,
JdbcType jdbcType) |
void |
StringTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
String parameter,
JdbcType jdbcType) |
void |
NStringTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
String parameter,
JdbcType jdbcType) |
void |
NClobTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
String parameter,
JdbcType jdbcType) |
void |
ClobTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
String parameter,
JdbcType jdbcType) |
void |
SqlTimeTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Time parameter,
JdbcType jdbcType) |
void |
SqlTimestampTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
Timestamp parameter,
JdbcType jdbcType) |
abstract void |
BaseTypeHandler.setNonNullParameter(PreparedStatement ps,
int i,
T parameter,
JdbcType jdbcType) |
void |
TypeHandler.setParameter(PreparedStatement ps,
int i,
T parameter,
JdbcType jdbcType) |
void |
BaseTypeHandler.setParameter(PreparedStatement ps,
int i,
T parameter,
JdbcType jdbcType) |
Copyright © 2010–2015 MyBatis.org. All rights reserved.