<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    拾貝殼

    走過的路
    隨筆 - 39, 文章 - 1, 評論 - 14, 引用 - 0
    數(shù)據(jù)加載中……

    HibernateTemplate方法

    ?
    Method Summary
    protected ?voidapplyNamedParameterToQuery(net.sf.hibernate.Query?queryObject, String?paramName, Object?value, net.sf.hibernate.type.Type?type)
    ??????????Apply the given name parameter to the given Query object.
    protected ?voidcheckWriteOperationAllowed(net.sf.hibernate.Session?session)
    ??????????Check whether write operations are allowed on the given Session.
    ?voidclear()
    ??????????Remove all objects from the Session cache, and cancel all pending saves, updates and deletes.
    ?voidcloseIterator(Iterator?it)
    ??????????Close an Iterator created by iterate operations immediately, instead of waiting until the session is closed or disconnected.
    ?booleancontains(Object?entity)
    ??????????Check whether the given object is in the Session cache.
    protected ?net.sf.hibernate.SessioncreateSessionProxy(net.sf.hibernate.Session?session)
    ??????????Create a close-suppressing proxy for the given Hibernate Session.
    ?voiddelete(Object?entity)
    ??????????Delete the given persistent instance.
    ?voiddelete(Object?entity, net.sf.hibernate.LockMode?lockMode)
    ??????????Delete the given persistent instance.
    ?intdelete(String?queryString)
    ??????????Delete all objects returned by the query.
    ?intdelete(String?queryString, Object[]?values, net.sf.hibernate.type.Type[]?types)
    ??????????Delete all objects returned by the query.
    ?intdelete(String?queryString, Object?value, net.sf.hibernate.type.Type?type)
    ??????????Delete all objects returned by the query.
    ?voiddeleteAll(Collection?entities)
    ??????????Delete all given persistent instances.
    ?voidevict(Object?entity)
    ??????????Remove the given object from the Session cache.
    ?Objectexecute(HibernateCallback?action)
    ??????????Execute the action specified by the given action object within a Session.
    ?Objectexecute(HibernateCallback?action, boolean?exposeNativeSession)
    ??????????Execute the action specified by the given action object within a Session.
    ?ListexecuteFind(HibernateCallback?action)
    ??????????Execute the specified action assuming that the result object is a List.
    ?Listfind(String?queryString)
    ??????????Execute a query for persistent instances.
    ?Listfind(String?queryString, Object?value)
    ??????????Execute a query for persistent instances, binding one value to a "?"
    ?Listfind(String?queryString, Object[]?values)
    ??????????Execute a query for persistent instances, binding a number of values to "?"
    ?Listfind(String?queryString, Object[]?values, net.sf.hibernate.type.Type[]?types)
    ??????????Execute a query for persistent instances, binding a number of values to "?"
    ?Listfind(String?queryString, Object?value, net.sf.hibernate.type.Type?type)
    ??????????Execute a query for persistent instances, binding one value to a "?"
    ?ListfindByNamedParam(String?queryString, String[]?paramNames, Object[]?values)
    ??????????Execute a query for persistent instances, binding a number of values to ":" named parameters in the query string.
    ?ListfindByNamedParam(String?queryString, String[]?paramNames, Object[]?values, net.sf.hibernate.type.Type[]?types)
    ??????????Execute a query for persistent instances, binding a number of values to ":" named parameters in the query string.
    ?ListfindByNamedParam(String?queryString, String?paramName, Object?value)
    ??????????Execute a query for persistent instances, binding one value to a ":" named parameter in the query string.
    ?ListfindByNamedParam(String?queryString, String?paramName, Object?value, net.sf.hibernate.type.Type?type)
    ??????????Execute a query for persistent instances, binding one value to a ":" named parameter in the query string.
    ?ListfindByNamedQuery(String?queryName)
    ??????????Execute a named query for persistent instances.
    ?ListfindByNamedQuery(String?queryName, Object?value)
    ??????????Execute a named query for persistent instances, binding one value to a "?"
    ?ListfindByNamedQuery(String?queryName, Object[]?values)
    ??????????Execute a named query for persistent instances, binding a number of values to "?"
    ?ListfindByNamedQuery(String?queryName, Object[]?values, net.sf.hibernate.type.Type[]?types)
    ??????????Execute a named query for persistent instances, binding a number of values to "?"
    ?ListfindByNamedQuery(String?queryName, Object?value, net.sf.hibernate.type.Type?type)
    ??????????Execute a named query for persistent instances, binding one value to a "?"
    ?ListfindByNamedQueryAndNamedParam(String?queryName, String[]?paramNames, Object[]?values)
    ??????????Execute a named query for persistent instances, binding a number of values to ":" named parameters in the query string.
    ?ListfindByNamedQueryAndNamedParam(String?queryName, String[]?paramNames, Object[]?values, net.sf.hibernate.type.Type[]?types)
    ??????????Execute a named query for persistent instances, binding a number of values to ":" named parameters in the query string.
    ?ListfindByNamedQueryAndNamedParam(String?queryName, String?paramName, Object?value)
    ??????????Execute a named query for persistent instances, binding one value to a ":" named parameter in the query string.
    ?ListfindByNamedQueryAndNamedParam(String?queryName, String?paramName, Object?value, net.sf.hibernate.type.Type?type)
    ??????????Execute a named query for persistent instances, binding one value to a ":" named parameter in the query string.
    ?ListfindByNamedQueryAndValueBean(String?queryName, Object?valueBean)
    ??????????Execute a named query for persistent instances, binding the properties of the given bean to ":" named parameters in the query string.
    ?ListfindByValueBean(String?queryString, Object?valueBean)
    ??????????Execute a query for persistent instances, binding the properties of the given bean to named parameters in the query string.
    ?voidflush()
    ??????????Flush all pending saves, updates and deletes to the database.
    ?Objectget(Class?entityClass, Serializable?id)
    ??????????Return the persistent instance of the given entity class with the given identifier, or null if not found.
    ?Objectget(Class?entityClass, Serializable?id, net.sf.hibernate.LockMode?lockMode)
    ??????????Return the persistent instance of the given entity class with the given identifier, or null if not found.
    ?intgetFetchSize()
    ??????????Return the fetch size specified for this HibernateTemplate.
    ?intgetMaxResults()
    ??????????Return the maximum number of rows specified for this HibernateTemplate.
    ?StringgetQueryCacheRegion()
    ??????????Return the name of the cache region for queries executed by this template.
    protected ?net.sf.hibernate.SessiongetSession()
    ??????????Return a Session for use by this template.
    ?voidinitialize(Object?proxy)
    ??????????Force initialization of a Hibernate proxy or persistent collection.
    ?booleanisAllowCreate()
    ??????????Return if a new Session should be created if no thread-bound found.
    ?booleanisAlwaysUseNewSession()
    ??????????Return whether to always use a new Hibernate Session for this template.
    ?booleanisCacheQueries()
    ??????????Return whether to cache all queries executed by this template.
    ?booleanisCheckWriteOperations()
    ??????????Return whether to check that the Hibernate Session is not in read-only mode in case of write operations (save/update/delete).
    ?booleanisExposeNativeSession()
    ??????????Return whether to expose the native Hibernate Session to HibernateCallback code, or rather a Session proxy.
    ?Iteratoriterate(String?queryString)
    ??????????Execute a query for persistent instances.
    ?Iteratoriterate(String?queryString, Object?value)
    ??????????Execute a query for persistent instances, binding one value to a "?"
    ?Iteratoriterate(String?queryString, Object[]?values)
    ??????????Execute a query for persistent instances, binding a number of values to "?"
    ?Iteratoriterate(String?queryString, Object[]?values, net.sf.hibernate.type.Type[]?types)
    ??????????Execute a query for persistent instances, binding a number of values to "?"
    ?Iteratoriterate(String?queryString, Object?value, net.sf.hibernate.type.Type?type)
    ??????????Execute a query for persistent instances, binding one value to a "?"
    ?Objectload(Class?entityClass, Serializable?id)
    ??????????Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found.
    ?Objectload(Class?entityClass, Serializable?id, net.sf.hibernate.LockMode?lockMode)
    ??????????Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found.
    ?voidload(Object?entity, Serializable?id)
    ??????????Load the persistent instance with the given identifier into the given object, throwing an exception if not found.
    ?ListloadAll(Class?entityClass)
    ??????????Return all persistent instances of the given entity class.
    ?voidlock(Object?entity, net.sf.hibernate.LockMode?lockMode)
    ??????????Obtain the specified lock level upon the given object, implicitly checking whether the corresponding database entry still exists (throwing an OptimisticLockingFailureException if not found).
    protected ?voidprepareCriteria(net.sf.hibernate.Criteria?criteria)
    ??????????Prepare the given Criteria object, applying cache settings and/or a transaction timeout.
    protected ?voidprepareQuery(net.sf.hibernate.Query?queryObject)
    ??????????Prepare the given Query object, applying cache settings and/or a transaction timeout.
    ?voidrefresh(Object?entity)
    ??????????Re-read the state of the given persistent instance.
    ?voidrefresh(Object?entity, net.sf.hibernate.LockMode?lockMode)
    ??????????Re-read the state of the given persistent instance.
    ?voidreplicate(Object?entity, net.sf.hibernate.ReplicationMode?replicationMode)
    ??????????Persist the state of the given detached instance according to the given replication mode, reusing the current identifier value.
    ?Serializablesave(Object?entity)
    ??????????Persist the given transient instance.
    ?voidsave(Object?entity, Serializable?id)
    ??????????Persist the given transient instance with the given identifier.
    ?voidsaveOrUpdate(Object?entity)
    ??????????Save or update the given persistent instance, according to its id (matching the configured "unsaved-value"?).
    ?voidsaveOrUpdateAll(Collection?entities)
    ??????????Save or update all given persistent instances, according to its id (matching the configured "unsaved-value"?).
    ?ObjectsaveOrUpdateCopy(Object?entity)
    ??????????Save or update the contents of given persistent object, according to its id (matching the configured "unsaved-value"?).
    ?voidsetAllowCreate(boolean?allowCreate)
    ??????????Set if a new Session should be created when no transactional Session can be found for the current thread.
    ?voidsetAlwaysUseNewSession(boolean?alwaysUseNewSession)
    ??????????Set whether to always use a new Hibernate Session for this template.
    ?voidsetCacheQueries(boolean?cacheQueries)
    ??????????Set whether to cache all queries executed by this template.
    ?voidsetCheckWriteOperations(boolean?checkWriteOperations)
    ??????????Set whether to check that the Hibernate Session is not in read-only mode in case of write operations (save/update/delete).
    ?voidsetExposeNativeSession(boolean?exposeNativeSession)
    ??????????Set whether to expose the native Hibernate Session to HibernateCallback code.
    ?voidsetFetchSize(int?fetchSize)
    ??????????Set the fetch size for this HibernateTemplate.
    ?voidsetMaxResults(int?maxResults)
    ??????????Set the maximum number of rows for this HibernateTemplate.
    ?voidsetQueryCacheRegion(String?queryCacheRegion)
    ??????????Set the name of the cache region for queries executed by this template.
    ?voidupdate(Object?entity)
    ??????????Update the given persistent instance.
    ?voidupdate(Object?entity, net.sf.hibernate.LockMode?lockMode)
    ??????????Update the given persistent instance.
    ?

    posted on 2006-12-26 15:47 binge 閱讀(4394) 評論(0)  編輯  收藏 所屬分類: OPEN SOURCE

    主站蜘蛛池模板: 亚洲一区二区免费视频| 亚洲伊人久久精品影院| 亚洲国产精品成人午夜在线观看 | 亚洲综合无码一区二区痴汉| 亚洲日韩AV一区二区三区中文 | 亚洲天堂一区二区三区四区| 亚洲人成色99999在线观看| 女人裸身j部免费视频无遮挡| a级特黄毛片免费观看| 亚洲一区二区三区免费在线观看| 成年女人喷潮毛片免费播放| 亚洲高清国产拍精品青青草原| 亚洲国产另类久久久精品黑人| 亚洲天堂电影在线观看| 污视频网站在线免费看| 国产成人精品免费久久久久| 97无码免费人妻超级碰碰夜夜| 丁香亚洲综合五月天婷婷| 亚洲国产精品久久66| 亚洲国产欧美国产综合一区 | 亚洲码和欧洲码一码二码三码 | 五月亭亭免费高清在线| 国产区卡一卡二卡三乱码免费| 亚洲综合熟女久久久30p| 亚洲国产精品网站久久| 深夜a级毛片免费视频| 99国产精品视频免费观看| 日韩午夜免费视频| 久久亚洲伊人中字综合精品| 中文无码亚洲精品字幕| 一级毛片大全免费播放下载| 国产91色综合久久免费| 亚洲国产日韩在线观频| 亚洲一区二区三区在线| 毛片基地看看成人免费| 午夜网站免费版在线观看| 亚洲av综合av一区| 国产AV日韩A∨亚洲AV电影| 亚洲成人免费网址| 精品国产人成亚洲区| 亚洲色成人网站WWW永久四虎|