Codota Logo
EntityRegionAccessStrategy.update
Code IndexAdd Codota to your IDE (free)

How to use
update
method
in
org.hibernate.cache.spi.access.EntityRegionAccessStrategy

Best Java code snippets using org.hibernate.cache.spi.access.EntityRegionAccessStrategy.update (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.infinispan/infinispan-hibernate-cache-v51

@Override
public boolean update(Object session, Object key, Object value, Object currentVersion, Object previousVersion) throws CacheException {
  return unwrapEntity().update(unwrap(session), key, value, currentVersion, previousVersion);
}
origin: org.hibernate/com.springsource.org.hibernate.core

);
cacheEntry = persister.getCacheEntryStructure().structure( ce );
boolean put = persister.getCacheAccessStrategy().update( ck, cacheEntry, nextVersion, previousVersion );
if ( put && factory.getStatistics().isStatisticsEnabled() ) {
  factory.getStatisticsImplementor().secondLevelCachePut( getPersister().getCacheAccessStrategy().getRegion().getName() );
origin: org.hibernate/com.springsource.org.hibernate

);
cacheEntry = persister.getCacheEntryStructure().structure( ce );
boolean put = persister.getCacheAccessStrategy().update( ck, cacheEntry, nextVersion, previousVersion );
if ( put && factory.getStatistics().isStatisticsEnabled() ) {
  factory.getStatisticsImplementor().secondLevelCachePut( getPersister().getCacheAccessStrategy().getRegion().getName() );
origin: org.hibernate/com.springsource.org.hibernate.core

persister.getCacheAccessStrategy().update(
    cacheKey,
    persister.getCacheEntryStructure().structure( entry ),
origin: org.hibernate/com.springsource.org.hibernate

persister.getCacheAccessStrategy().update(
    cacheKey,
    persister.getCacheEntryStructure().structure( entry ),
org.hibernate.cache.spi.accessEntityRegionAccessStrategyupdate

Javadoc

Called after an item has been updated (before the transaction completes), instead of calling evict(). This method is used by "synchronous" concurrency strategies.

Popular methods of EntityRegionAccessStrategy

  • getRegion
    Get the wrapped entity cache region
  • afterInsert
  • afterUpdate
  • insert
  • evict
  • evictAll
  • get
  • lockItem
  • lockRegion
  • putFromLoad
  • remove
  • removeAll
  • remove,
  • removeAll,
  • unlockItem,
  • unlockRegion

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • startActivity (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ImageIO (javax.imageio)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now