|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalQuery
Provides local (internal) extensions for querying
Method Summary | ||
---|---|---|
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. |
|
|
execute(org.springframework.orm.hibernate3.HibernateCallback callback)
Executes a HibernateCallback |
|
|
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. |
Methods inherited from interface ome.api.IQuery |
---|
find, findAll, findAllByExample, findAllByFullText, findAllByQuery, findAllByString, findByExample, findByQuery, findByString, get, projection, refresh |
Method Detail |
---|
<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(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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.