public interface LocalQuery
extends ome.api.IQuery
Modifier and Type | Method and Description |
---|---|
boolean |
checkProperty(java.lang.String type,
java.lang.String property)
Checks if a property is defined on a mapped Hibernate type.
|
boolean |
checkType(java.lang.String type)
Checks if a type has been mapped in Hibernate.
|
void |
clear() |
boolean |
contains(java.lang.Object object)
Tests if an object is currently contained in the session.
|
void |
evict(java.lang.Object object)
Removes an object graph from the session.
|
<T> T |
execute(org.springframework.orm.hibernate3.HibernateCallback callback)
Executes a
HibernateCallback |
<T> T |
execute(Query<T> query)
Executes a locally defined Query.
|
void |
initialize(java.lang.Object object)
Uses the Hibernate static method
initialize to prepare an
object for shipping over the wire. |
<T> T execute(org.springframework.orm.hibernate3.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(java.lang.Object object)
object
- void evict(java.lang.Object object)
object
- void clear()
void initialize(java.lang.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(java.lang.String type)
type
- String representation of a full-qualified Hibernate-mapped
type.boolean checkProperty(java.lang.String type, java.lang.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.