Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • SOSHibernateConfigurationException
  • SOSHibernateConnectionException
  • SOSHibernateConvertException
  • SOSHibernateFactoryBuildException
  • SOSHibernateInvalidSessionException
  • SOSHibernateLockAcquisitionException
  • SOSHibernateObjectOperationException
  • SOSHibernateObjectOperationStaleStateException
  • SOSHibernateOpenSessionException
  • SOSHibernateQueryException
  • SOSHibernateQueryNonUniqueResultException
  • SOSHibernateSessionException
  • SOSHibernateTransactionException
  • SOSHibernateSQLExecutorException

...

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, SOSHibernateLockAcquisitionException, SOSHibernateQueryNonUniqueResultException, SOSHibernateQueryException

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, SOSHibernateLockAcquisitionException, SOSHibernateQueryNonUniqueResultException, SOSHibernateQueryException

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, SOSHibernateLockAcquisitionException, SOSHibernateQueryNonUniqueResultException, SOSHibernateQueryException

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, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

Note: starting with JobScheduler 1.11.4

 

public <T> List<Map<String, String>> getResultListNativeQueryAsStringMaps(String sql)     

...

Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

Note: starting with JobScheduler 1.11.4


public <T> List<Map<String, String>> getResultListNativeQueryAsStringMaps(String sql, String dateTimeFormat)     

...

Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

Note: starting with JobScheduler 1.11.4


public <T> List<T> getResultList(Query<T> query)      

...

Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException                   

 

public <T> List<Map<String, Object>> getResultListAsMaps(NativeQuery<T> nativeQuery)      

...

 Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

Note: starting with JobScheduler 1.11.4


public <T> List<Map<String, String>> getResultListAsStringMaps(NativeQuery<T> query)      

...

Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

Note: starting with JobScheduler 1.11.4

     

public <T> List<Map<String, String>> getResultListAsStringMaps(NativeQuery<T> query, String dateTimeFormat) 

...

Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

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, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

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, SOSHibernateLockAcquisitionException, , SOSHibernateQueryException

Note: starting with JobScheduler 1.11.4

SOSHibernateException

Additional public methods:

...

Info
titleRelease 1.11.4 - new methods
  • SOSHibernateException
    • SOSHibernateLockAcquisitionException
    • SOSHibernateObjectOperationException
  • SOSHibernateSession
    • setAutoCommit
    • isAutoCommit
    • getSingleResultNativeQueryAsMap
    • getSingleResultNativeQueryAsStringMap
    • getSingleResultAsMap
    • getSingleResultAsStringMap
    • getResultListNativeQueryAsMaps
    • getResultListNativeQueryAsStringMaps
    • getResultListAsMaps
    • getResultListAsStringMaps
    • scroll
Info
titleRelease 1.11.5 - new methods
  • SOSHibernateException
    • SOSHibernateObjectOperationStaleStateException
  • SOSHibernateFactory
    • toString(Object dbItem)