public interface StructAndArrayTypeResolver
| Modifier and Type | Method and Description |
|---|---|
void |
resolveLobIn(Object[] attributes,
Integer index,
ResolvedDbType resolvedDbType)
This method calls the method that instantiates clob and blob classes according to structure.
|
void |
resolveLobs(Object[] elements,
Integer index,
String dataTypeName)
This method changes entity replacing some elements with clob or blob instances.
|
String |
resolveType(String typeName)
This method resolves the attribute data type.
|
String |
resolveType(String typeName,
ConcurrentHashMap<String,String> typeCache)
This method resolves the attribute data type by looking at a cache first.
|
void resolveLobs(Object[] elements, Integer index, String dataTypeName) throws SQLException
elements - of the array or structindex - of each element to be replaced with an clob or blob instancedataTypeName - of the attribute that is going to be replacedSQLException - when there is an error creating a clob or clobString resolveType(String typeName) throws SQLException
typeName - of the array or structSQLException - when there is an error obtaining the data type from databaseString resolveType(String typeName, ConcurrentHashMap<String,String> typeCache) throws SQLException
typeName - of the array or structSQLException - when there is an error obtaining the data type from databasevoid resolveLobIn(Object[] attributes, Integer index, ResolvedDbType resolvedDbType) throws SQLException
attributes - of the array or structindex - of the array or structresolvedDbType - of the array or structSQLException - when there is an error creating a clob or clobCopyright © 2025. All rights reserved.