Versions Compared

Key

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

...

 Returns: A List of the Maps consisting of column names and values – null for empty result sets.

  •  Map key     - column name in lower case.
  • Map value  - object (null value as NULL)

...

Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

 

Execute

 

public

...

int executeUpdate(String hql)      

The method executes statements as UPDATE, INSERT, DELETE..

Implement a wrapper method for the Hibernate executeUpdate.

Returns: The number of entities updated or deleted.

Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

 

public

...

int executeUpdate(Query<?> query)      

The method executes statements as UPDATE, INSERT, DELETE..

Implement a wrapper method for the Hibernate executeUpdate.

Returns: The number of entities updated or deleted.

Throws: SOSHibernateInvalidSessionException, SOSHibernateLockAcquisitionException, SOSHibernateQueryException

...