【永恒的瞬间】
☜Give me hapy ☞

 

Session

Session lifecycle

beginTransaction()

close()

isOpen()

disconnect()

reconnect()

reconnect(Connection)

isConnected()

flush()

setFlushMode(FlushMode)

getFlushMode()

Persistent instances

save(Object)

save(Object, Serializable)

saveOrUpdate(Object)

update(Object)

update(Object, Serializable)

lock(Object, LockMode)

load(Class, Serializable)

load(Class, Serializable, LockMode)

load(Object, Serializable)

refresh(Object)

refresh(Object, LockMode)

evict(Object)

contains(Object)

delete(Object)

getIdentifier(Object)

getCurrentLockMode(Object)

Query factory

createQuery(String)

createFilter(Object, String)

createCriteria(Class)

getNamedQuery(String)

Query execution

find(String)

find(String, Object, Type)

find(String, Object[], Type[])

iterate(String)

iterate(String, Object, Type)

iterate(String, Object[], Type[])

filter(Object, String)

filter(Object, String, Object, Type)

filter(String, Object[], Type[])

delete(String)

delete(String, Object, Type)

delete(String, Object[], Type[])

Validatable

Instance state validation

validate()

Hibernate

Proxies

initialize(Object)

isInitialized(Object)

getClass(Object)

Blob/Clob factory

createBlob(InputStream, int)

createBlob(byte[])

createClob(Reader, int)

createClob(String)

Type factory

entity(Class)

enum(Class)

custom(Class)

any(Type, Type)

serializable(Class)

BIG_DECIMAL

BINARY

BLOB

BOOLEAN

BYTE

CALENDAR

CALENDAR_DATE

CHARACTER

CLASS

CLOB

CURRENCY

DATE

DOUBLE

FLOAT

INTEGER

LOCALE

LONG

OBJECT

SERIALIZABLE

SHORT

STRING

TIME

TIMESTAMP

TIMEZONE

TRUE_FALSE

YES_NO

Transaction

Lifecycle

commit()

rollback()

wasCommitted()

wasRolledBack()

Lifecycle

Persistent instance lifecycle

onSave(Session)

onUpdate(Session)

onDelete(Session)

onLoad(Session, Serializable)

VETO

NO_VETO

SessionFactory

SessionFactory lifecycle

close()

Session factory

openSession()

openSession(Interceptor)

openSession(Connection)

openSession(Connection, Interceptor)

Cache management

evict(Class)

evict(Class, Serializable)

evictCollection(String)

evictCollection(String, Serializable)

Metadata factory

getClassMetadata(Class)

getCollectionMetadata(String)

getAllClassMetadata()

getAllCollectionMetadata()

Query

Metadata

getQueryString()

getReturnTypes()

getNamedParameters()

Query execution

list()

iterate()

scroll()

setMaxResults(int)

setFirstResult(int)

setLockMode(String, LockMode)

setTimeout(int)

Parameter binding

setProperties(Object)

setParameterList(String, Collection)

setParameterList(String, Collection, Type)

setParameterList(String, Object[])

setParameterList(String, Object[], Type)

setParameter(String, Object)

setParameter(String, Object, Type)

setParameter(int, Object)

setParameter(int, Object, Type)

setString(String, String)

setString(int, String)

...

 

posted on 2007-04-03 08:28 ☜♥☞MengChuChen 阅读(912) 评论(0)  编辑  收藏 所属分类: hibernate

只有注册用户登录后才能发表评论。


网站导航: