Module org.seasar.doma.core
Class EntityProvider<ENTITY>
java.lang.Object
org.seasar.doma.internal.jdbc.command.AbstractObjectProvider<ENTITY>
org.seasar.doma.internal.jdbc.command.EntityProvider<ENTITY>
- All Implemented Interfaces:
ObjectProvider<ENTITY>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DuplicateColumnHandlerprotected final EntityType<ENTITY>protected Map<Integer,EntityPropertyType<ENTITY, ?>> protected final JdbcMappingVisitorprotected final Queryprotected final booleanprotected final UnknownColumnHandler -
Constructor Summary
ConstructorsConstructorDescriptionEntityProvider(EntityType<ENTITY> entityType, Query query, boolean resultMappingEnsured) -
Method Summary
Modifier and TypeMethodDescriptionprotected ENTITYprotected HashMap<String,EntityPropertyType<ENTITY, ?>> createColumnNameMap(EntityType<ENTITY> entityType) Deprecated.protected HashMap<Integer,EntityPropertyType<ENTITY, ?>> createIndexMap(ResultSetMetaData resultSetMeta, EntityType<ENTITY> entityType) Deprecated, for removal: This API element is subject to removal in a future version.Retrieve the object.protected voidthrowResultMappingException(Set<EntityPropertyType<ENTITY, ?>> unmappedPropertySet) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.seasar.doma.internal.jdbc.command.AbstractObjectProvider
fetch
-
Field Details
-
entityType
-
query
-
resultMappingEnsured
protected final boolean resultMappingEnsured -
jdbcMappingVisitor
-
unknownColumnHandler
-
duplicateColumnHandler
-
indexMap
-
-
Constructor Details
-
EntityProvider
-
-
Method Details
-
get
Description copied from interface:ObjectProviderRetrieve the object.- Parameters:
resultSet- the result set- Returns:
- the object
- Throws:
SQLException- if the result set throwsSQLException.
-
build
- Throws:
SQLException
-
createIndexMap
@Deprecated(forRemoval=true) protected HashMap<Integer,EntityPropertyType<ENTITY, createIndexMap?>> (ResultSetMetaData resultSetMeta, EntityType<ENTITY> entityType) throws SQLException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
SQLException
-
createColumnNameMap
@Deprecated protected HashMap<String,EntityPropertyType<ENTITY, createColumnNameMap?>> (EntityType<ENTITY> entityType) Deprecated. -
throwResultMappingException
@Deprecated(forRemoval=true) protected void throwResultMappingException(Set<EntityPropertyType<ENTITY, ?>> unmappedPropertySet) Deprecated, for removal: This API element is subject to removal in a future version.
-