org.jboss.ejb3.entity
Class SecondLevelCacheUtil

java.lang.Object
  extended by org.jboss.ejb3.entity.SecondLevelCacheUtil

Deprecated.

@Deprecated
public class SecondLevelCacheUtil
extends java.lang.Object

Utilities related to the Hibernate 2nd Level Cache


Field Summary
static java.lang.String HIBERNATE_CACHE_REGION_PREFIX
          Deprecated.  
 
Method Summary
static org.hibernate.cache.CacheException convertToHibernateException(java.lang.Exception e)
          Deprecated. Creates a CacheException, but doesn't pass JBC CacheException as the cause as it is a type that likely doesn't exist on a client.
static java.lang.String createCacheRegionPrefix(java.lang.String earName, java.lang.String jarName, java.lang.String unitName)
          Deprecated.  
static java.lang.String createRegionFqn(java.lang.String regionName, java.lang.String regionPrefix)
          Deprecated.  
static boolean isSharedClassLoaderRegion(java.lang.String regionName)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HIBERNATE_CACHE_REGION_PREFIX

public static final java.lang.String HIBERNATE_CACHE_REGION_PREFIX
Deprecated. 
See Also:
Constant Field Values
Method Detail

createCacheRegionPrefix

public static java.lang.String createCacheRegionPrefix(java.lang.String earName,
                                                       java.lang.String jarName,
                                                       java.lang.String unitName)
Deprecated. 

createRegionFqn

public static java.lang.String createRegionFqn(java.lang.String regionName,
                                               java.lang.String regionPrefix)
Deprecated. 

isSharedClassLoaderRegion

public static boolean isSharedClassLoaderRegion(java.lang.String regionName)
Deprecated. 

convertToHibernateException

public static org.hibernate.cache.CacheException convertToHibernateException(java.lang.Exception e)
Deprecated. 
Creates a CacheException, but doesn't pass JBC CacheException as the cause as it is a type that likely doesn't exist on a client. Instead creates a Hibernate CacheException with the original exception's stack trace.