|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An extension to the standard persistence manager factory interface including methods specific to TriActive JDO.
Method Summary | |
int |
getFetchSize()
The default JDBC fetch size for all PersistenceManagers obtained from this factory. |
boolean |
getForceConnectionInit()
The ForceConnectionInit setting for all PersistenceManagers obtained from this factory. |
java.lang.String |
getJdbcTrace()
The JDBC trace options for all PersistenceManagers obtained from this factory. |
int |
getResultSetType()
The default result set type for all PersistenceManagers obtained from this factory. |
int |
getTransactionIsolation()
The default transaction isolation level for all PersistenceManagers obtained from this factory. |
void |
setFetchSize(int fetchSize)
The default JDBC fetch size for all PersistenceManagers obtained from this factory. |
void |
setForceConnectionInit(boolean flag)
The ForceConnectionInit setting for all PersistenceManagers obtained from this factory. |
void |
setJdbcTrace(java.lang.String jdbcTrace)
The JDBC trace options for all PersistenceManagers obtained from this factory. |
void |
setResultSetType(int resultSetType)
The default result set type for all PersistenceManagers obtained from this factory. |
void |
setResultSetType(java.lang.String resultSetTypeName)
The default result set type for all PersistenceManagers obtained from this factory. |
void |
setTransactionIsolation(int isolationLevel)
The default transaction isolation level for all PersistenceManagers obtained from this factory. |
void |
setTransactionIsolation(java.lang.String isolationLevelName)
The default transaction isolation level for all PersistenceManagers obtained from this factory. |
Methods inherited from interface javax.jdo.PersistenceManagerFactory |
close, getConnectionDriverName, getConnectionFactory, getConnectionFactory2, getConnectionFactory2Name, getConnectionFactoryName, getConnectionURL, getConnectionUserName, getIgnoreCache, getMultithreaded, getNontransactionalRead, getNontransactionalWrite, getOptimistic, getPersistenceManager, getPersistenceManager, getProperties, getRestoreValues, getRetainValues, setConnectionDriverName, setConnectionFactory, setConnectionFactory2, setConnectionFactory2Name, setConnectionFactoryName, setConnectionPassword, setConnectionURL, setConnectionUserName, setIgnoreCache, setMultithreaded, setNontransactionalRead, setNontransactionalWrite, setOptimistic, setRestoreValues, setRetainValues, supportedOptions |
Methods inherited from interface com.triactive.jdo.SchemaManagementOptions |
getAutoCreateTables, getValidateConstraints, getValidateTables, setAutoCreateTables, setValidateConstraints, setValidateTables |
Method Detail |
public int getTransactionIsolation()
public void setTransactionIsolation(java.lang.String isolationLevelName)
isolationLevelName
- One of the values "read uncommitted", "read committed", "repeatable
read", or "serializable". The name is case-insensitive, and spaces
and underscores are equivalent.public void setTransactionIsolation(int isolationLevel)
isolationLevel
- the default transaction isolation level.public int getResultSetType()
public void setResultSetType(java.lang.String resultSetTypeName)
resultSetTypeName
- One of the values "forward only", "scroll insensitive", or "scroll
sensitive". The name is case-insensitive, and spaces and
underscores are equivalent.public void setResultSetType(int resultSetType)
resultSetType
- the default result set type.public int getFetchSize()
public void setFetchSize(int fetchSize)
fetchSize
- The default fetch size. Zero indicates no specific size.public boolean getForceConnectionInit()
public void setForceConnectionInit(boolean flag)
flag
- the ForceConnectionInit setting.public java.lang.String getJdbcTrace()
null
if tracing is disabled.setJdbcTrace(java.lang.String)
public void setJdbcTrace(java.lang.String jdbcTrace)
Each trace option is enabled by including its keyword.
Option keyword | Description |
---|---|
LogExecutionTimes | Logs every executed SQL statement and its execution time in milliseconds |
LogExecutionFailures | Logs every SQL statement whose execution throws a SQLException |
LogWarnings | Logs every SQLWarning produced by a Connection, Statement, or ResultSet |
jdbcTrace
- A comma-separated list of trace option keywords, or
null
to disable tracing entirely.InitializedConnectionFactory.setTraceOptions(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |