public interface LocalQuery extends IQuery
Modifier and Type | Method and Description |
---|---|
boolean |
checkProperty(String type,
String property)
Checks if a property is defined on a mapped Hibernate type.
|
boolean |
checkType(String type)
Checks if a type has been mapped in Hibernate.
|
void |
clear() |
boolean |
contains(Object object)
Tests if an object is currently contained in the session.
|
void |
evict(Object object)
Removes an object graph from the session.
|
<T> T |
execute(HibernateCallback callback)
Executes a
HibernateCallback |
<T> T |
execute(Query<T> query)
Executes a locally defined Query.
|
void |
initialize(Object object)
Uses the Hibernate static method
initialize to prepare an
object for shipping over the wire. |
find, findAll, findAllByExample, findAllByFullText, findAllByQuery, findAllByString, findByExample, findByQuery, findByString, get, projection, refresh
<T> T execute(HibernateCallback callback)
HibernateCallback
callback
- An implementation of the HibernateCallback interface.HibernateTemplate
,
HibernateCallback
<T> T execute(Query<T> query)
query
- A subclass of the Query
interface.boolean contains(Object object)
object
- void evict(Object object)
object
- void clear()
void initialize(Object object)
initialize
to prepare an
object for shipping over the wire.
It is better to do this in your queries.object
- Hibernate
boolean checkType(String type)
type
- String representation of a full-qualified Hibernate-mapped
type.boolean checkProperty(String type, String property)
type
- String representation of a full-qualified Hibernate-mapped
type.property
- Property as defined in Hibernate NOT the public final static
Strings on our IObject classes.
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.