|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This configuration maintains the setup of a
| Field Summary |
| Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
ComponentTemplateName |
| Method Summary | |
ConnectionFactory |
getConnectionFactory()
Getter for the connection factory to be used when creating queries. |
Integer |
getFetchSize()
Getter for the configured fetch size. |
Integer |
getMaxFieldSize()
Getter for the maximum field size. |
Integer |
getMaxRows()
Getter for the configured maximum number of rows to return. |
Integer |
getQueryTimeOut()
Getter for the configured query timeout. |
ResultSetConcurrencyEnum |
getResultSetConcurrency()
Getter for the configured default result set concurrency. |
ResultSetTypeEnum |
getResultSetType()
Getter for the result set type. |
StatementConfiguration[] |
getStatement()
Retrieves an array of all the sql query configurations. |
void |
setConnectionFactory(ConnectionFactory connectionFactory)
Setter for the connection factory |
void |
setFetchSize(Integer fetchSize)
Setter for the fetch size on results sets. |
void |
setMaxFieldSize(Integer maxFieldSize)
Setter for the size of fields to be returned. |
void |
setMaxRows(Integer maxRows)
Setter for the max rows to return. |
void |
setQueryTimeOut(Integer queryTimeOut)
Setter for the timeout in milleseconds of this query |
void |
setResultSetConcurrency(ResultSetConcurrencyEnum resultSetConcurrency)
Setter for the concurrency of the result set. |
void |
setResultSetType(ResultSetTypeEnum resultSetType)
Setter for the default type of result set. |
void |
setStatement(StatementConfiguration[] statement)
Sets an array of all the sql query configurations. |
| Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface |
| Methods inherited from interface org.sape.carbon.core.config.Configuration |
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly |
| Method Detail |
public StatementConfiguration[] getStatement()
public void setStatement(StatementConfiguration[] statement)
statement - array of all sql query configurationspublic ConnectionFactory getConnectionFactory()
public void setConnectionFactory(ConnectionFactory connectionFactory)
connectionFactory - the default connection factory for
this componentpublic ResultSetTypeEnum getResultSetType()
public void setResultSetType(ResultSetTypeEnum resultSetType)
resultSetType - the type of result set created by defaultResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.TYPE_SCROLL_SENSITIVEpublic ResultSetConcurrencyEnum getResultSetConcurrency()
public void setResultSetConcurrency(ResultSetConcurrencyEnum resultSetConcurrency)
resultSetConcurrency - the concurrency type of the result setResultSet.CONCUR_READ_ONLY,
ResultSet.CONCUR_UPDATABLEpublic Integer getMaxRows()
public void setMaxRows(Integer maxRows)
maxRows - The maximum number of rows to return from a query.public Integer getFetchSize()
public void setFetchSize(Integer fetchSize)
fetchSize - A driver hint for the count of records to be returned
on each database message.public Integer getMaxFieldSize()
public void setMaxFieldSize(Integer maxFieldSize)
maxFieldSize - The max size, in bytes, that the driver should return
for a column.public Integer getQueryTimeOut()
public void setQueryTimeOut(Integer queryTimeOut)
queryTimeOut - the number of milleseconds before the driver should
timeout a database query. (Drivers have defaults)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||