...
Throws: SOSHibernateConfigurationException
- if invalid isolationLevel
public static String toString(Object dbItem)
Returns: dumping a java object's public properties.
Note: starting with JobScheduler 1.11.5
public Optional<Path> getConfigFile()
...
Default - SOSHibernateFactory.getAutoCommit()
Note: starting with JobScheduler 1.11.4
public void setIdentifier(String val)
...
Returns: session autocommit mode.
Note: starting with JobScheduler 1.11.4
public boolean isStatelessSession()
...
public <T> Map<String, Object> getSingleResultNativeQueryAsMap(String sql)
Creates Creates a NativeQuery
from sql query string and execute <T> Map<String, Object> getSingleResultAsMap(NativeQuery<T> nativeQuery)
TThrows: SOSHibernateInvalidSessionException,
SOSHibernateQueryNonUniqueResultException, SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> Map<String, String> getSingleResultNativeQueryAsStringMap(String sql)
Creates a NativeQuery
from sql query string and execute <T> Map<String, String> getSingleResultAsStringMap(NativeQuery<T>
nativeQuery
, String dateTimeFormat)
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryNonUniqueResultException, SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> Map<String, String> getSingleResultNativeQueryAsStringMap(String sql, String dateTimeFormat)
Creates a NativeQuery
from sql query string and execute <T> Map<String, String> getSingleResultAsStringMap(NativeQuery<T>
nativeQuery
, String dateTimeFormat)
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryNonUniqueResultException, SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> T getSingleResult(Query<T> query)
...
Note: difference to Query.getSingleResult
- not throw NoResultException
.
Note: starting with JobScheduler 1.11.4
public <T> Map<String, String> getSingleResultAsStringMap(NativeQuery<T> nativeQuery, String dateTimeFormat)
...
Note: difference to Query.getSingleResult
- not throw NoResultException
.
Note: starting with JobScheduler 1.11.4
public <T> List<T> getResultListNativeQuery(String sql)
...
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> List<Map<String, String>> getResultListNativeQueryAsStringMaps(String sql)
...
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> List<Map<String, String>> getResultListNativeQueryAsStringMaps(String sql, String dateTimeFormat)
...
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> List<T> getResultList(Query<T> query)
...
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
public <T> List<Map<String, Object>> getResultListAsMaps(NativeQuery<T> nativeQuery)
...
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryExceptionSOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> List<Map<String, String>> getResultListAsStringMaps(NativeQuery<T> query)
...
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> List<Map<String, String>> getResultListAsStringMaps(NativeQuery<T> query, String dateTimeFormat)
...
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public <T> ScrollableResults scroll(Query<T> query)
...
See ScrollableResults scroll(Query<T> query, ScrollMode scrollMode)
;
Note: starting with JobScheduler 1.11.4
public <T> ScrollableResults scroll(Query<T> query, ScrollMode scrollMode)
...
Throws: SOSHibernateInvalidSessionException,
SOSHibernateQueryExceptionSOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
public String getLastSequenceValue(String sequenceName)
...
See ScrollableResults scroll(Query<T> query, ScrollMode scrollMode)
;
Note: starting with JobScheduler 1.11.4
public <T> ScrollableResults scroll(Query<T> query, ScrollMode scrollMode)
...
Throws: SOSHibernateInvalidSessionException,
, SOSHibernateQueryException
SOSHibernateLockAcquisitionException
,
Note: starting with JobScheduler 1.11.4
SOSHibernateException
Additional public methods:
...
Info | ||
---|---|---|
| ||
|
Info | ||
---|---|---|
| ||
|