Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


oracle.eclipselink.coherence
Class IntegrationProperties

java.lang.Object
  extended by oracle.eclipselink.coherence.IntegrationProperties


public abstract class IntegrationProperties
extends java.lang.Object

This abstract class contains the property names used by the EclipseLink-JPA/Coherence integration. These properties are used to configure the JPA persistence-unit and descriptors for the entities that will use Coherence.

Since:
Oracle TopLink 11g (11.1.1.0.0)
Author:
gyorke

Field Summary
static java.lang.String CACHE_NAME
          Deprecated. use "eclipselink.coherence.cache.name"
static java.lang.String COHERENCE_CACHE_NAME
          This is the property name that will be used in each descriptor to store the name of the Coherence Cache.
static java.lang.String FILTER_FACTORY_CLASS_NAME
          This is the property name that is used to specify a specific FilterFactory implementation to be used to translate EclipseLink queries to Coherence Filters.
static java.lang.String INDEXED
          This is the property name that will be used to notify TopLink-Grid that a Coherence Index is to be created for this attribute.
static java.lang.String IS_NOT_ECLIPSELINK
          This is a SYSTEM level property used to notify the TopLink-Grid serializer that the current VM is operating without EclipseLink.
static java.lang.String TRANSLATION_FAILURE_POLICY
          This is the property name that is used to specify a specific QueryTranslationFailurePolicy implementation to be used to resolve failures to translate a Query.
static java.lang.String USE_TOPLINK_ID_CLASSES
          This is the property name that is uses to specify that native TopLink Primary Key information should be used in the cache instead of the JPA PK classes.

 

Constructor Summary
IntegrationProperties()
           

 

Method Summary

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

CACHE_NAME

public static final java.lang.String CACHE_NAME
Deprecated. use "eclipselink.coherence.cache.name"
This is the property name that will be used in each descriptor to store the name of the Coherence Cache. If this name is not provided the integration will default to using the descriptor's alias which is the default entity name in JPA.

This property name can be used in API or using the @Property annotation.

See Also:
ClassDescriptor.setProperty(String, Object), Property, Constant Field Values

IS_NOT_ECLIPSELINK

public static final java.lang.String IS_NOT_ECLIPSELINK
This is a SYSTEM level property used to notify the TopLink-Grid serializer that the current VM is operating without EclipseLink. This would be used in an application that was directly accessing coherence for EclipseLink managed entities with relationships but did not have the JPA Persistence Unit deployed in this VM
See Also:
Constant Field Values

COHERENCE_CACHE_NAME

public static final java.lang.String COHERENCE_CACHE_NAME
This is the property name that will be used in each descriptor to store the name of the Coherence Cache. If this name is not provided the integration will default to using the descriptor's alias which is the default entity name in JPA.

This property name can be used in API or using the @Property annotation.

See Also:
ClassDescriptor.setProperty(String, Object), Property, Constant Field Values

INDEXED

public static final java.lang.String INDEXED
This is the property name that will be used to notify TopLink-Grid that a Coherence Index is to be created for this attribute. The property should be set directly on the mapping for the attribute that is to be indexed. public class Broker implements Serializable, PortableObject{ ...
See Also:
org.eclipse.persistence.mappings.DatabaseMapping#setProperty(String, Object), Property, Constant Field Values

FILTER_FACTORY_CLASS_NAME

public static final java.lang.String FILTER_FACTORY_CLASS_NAME
This is the property name that is used to specify a specific FilterFactory implementation to be used to translate EclipseLink queries to Coherence Filters. The fully qualified class name of the implementation should be used as the value.
See Also:
Constant Field Values

TRANSLATION_FAILURE_POLICY

public static final java.lang.String TRANSLATION_FAILURE_POLICY
This is the property name that is used to specify a specific QueryTranslationFailurePolicy implementation to be used to resolve failures to translate a Query. The fully qualified class name of the implementation should be used as the value.
See Also:
Constant Field Values

USE_TOPLINK_ID_CLASSES

public static final java.lang.String USE_TOPLINK_ID_CLASSES
This is the property name that is uses to specify that native TopLink Primary Key information should be used in the cache instead of the JPA PK classes. This is a global setting and should be applied through the persistence.xml file. Accepted values are "TRUE" or "FALSE".
See Also:
Constant Field Values

Constructor Detail

IntegrationProperties

public IntegrationProperties()

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.