Package org.eclipse.persistence.config
Class SystemProperties
- java.lang.Object
-
- org.eclipse.persistence.config.SystemProperties
-
public class SystemProperties extends Object
This class provides the list of System properties that are recognized by EclipseLink.- Author:
- tware
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARCHIVE_FACTORY
Configures the factory class we use to produce instances of org.eclispe.persistence.jpa.Archive These instances are used to examine persistence units and the files within them and are used for discovery of classes in the persistence unit Allows user-provided ArchiveFactory and Archivestatic String
DO_NOT_PROCESS_XTOMANY_FOR_QBE
This property can be set to disable processing of X-Many relationship attributes for Query By Example objects.static String
ENFORCE_TARGET_SERVER
This system property can be set to override target server platform set by the Java EE container with the one either set in persistence.xml or auto detected.static String
JAVASE7_INDIRECT_COLLECTIONS
Deprecated.static String
RECORD_STACK_ON_LOCK
This property is used in conjunction with org.eclipse.persistence.sessions.IdentityMapAccessor.printIdentityMapLocks().static String
WEAVING_OUTPUT_PATH
This property is used to debug weaving issues.static String
WEAVING_REFLECTIVE_INTROSPECTION
This property can be used to tell EclipseLink to process classes in the ASM Default manner.static String
WEAVING_SHOULD_OVERWRITE
This property is used in conjunction with WEAVING_OUTPUT_PATH.
-
Constructor Summary
Constructors Constructor Description SystemProperties()
-
-
-
Field Detail
-
ARCHIVE_FACTORY
public static final String ARCHIVE_FACTORY
Configures the factory class we use to produce instances of org.eclispe.persistence.jpa.Archive These instances are used to examine persistence units and the files within them and are used for discovery of classes in the persistence unit Allows user-provided ArchiveFactory and Archive- See Also:
- Constant Field Values
-
WEAVING_OUTPUT_PATH
public static final String WEAVING_OUTPUT_PATH
This property is used to debug weaving issues. When it is set, weaved classes will be output to the given path as they are weaved- See Also:
- Constant Field Values
-
WEAVING_SHOULD_OVERWRITE
public static final String WEAVING_SHOULD_OVERWRITE
This property is used in conjunction with WEAVING_OUTPUT_PATH. By default, existing classes on the path provided to WEAVING_OUTPUT_PATH will not be overridden. If this is set to true, they will be- See Also:
- Constant Field Values
-
WEAVING_REFLECTIVE_INTROSPECTION
public static final String WEAVING_REFLECTIVE_INTROSPECTION
This property can be used to tell EclipseLink to process classes in the ASM Default manner. The fix for bug 370975 changes EclipseLink's weaving support to use ASM itself to examine class hierarchies. Setting this flag to true will cause us to use the default reflection mechanism again. This flag provides a means to workaround any issues encountered with the ASM-based weaving introspection- See Also:
- Constant Field Values
-
RECORD_STACK_ON_LOCK
public static final String RECORD_STACK_ON_LOCK
This property is used in conjunction with org.eclipse.persistence.sessions.IdentityMapAccessor.printIdentityMapLocks(). Setting this property will cause EclipseLink to record the stack trace of the lock acquisition and print it along with the identity map locks. This should only be set if the thread that owns a lock is not 'stuck' but still owns the lock when a normal printIdentityMapLocks is done. This can also be set in code statically through ConcurrencyManager.setShouldTrackStack(true)- See Also:
- Constant Field Values
-
DO_NOT_PROCESS_XTOMANY_FOR_QBE
public static final String DO_NOT_PROCESS_XTOMANY_FOR_QBE
This property can be set to disable processing of X-Many relationship attributes for Query By Example objects. In previous versions of EclipseLink these attributes would have been ignored but as of this release they will be processed into the expression.- See Also:
- Constant Field Values
-
ENFORCE_TARGET_SERVER
public static final String ENFORCE_TARGET_SERVER
This system property can be set to override target server platform set by the Java EE container with the one either set in persistence.xml or auto detected.- See Also:
- Constant Field Values
-
JAVASE7_INDIRECT_COLLECTIONS
@Deprecated public static final String JAVASE7_INDIRECT_COLLECTIONS
Deprecated.This system property is used by the IndirectCollectionsFactory to configure if the Java SE 7 API-specific indirect collection implementation classes should be instantiated at runtime. Configure this system property to true if the Java SE 7 API-specific indirect collection classes should be used instead of the Java SE 8 API-specific indirect collection classes. If the Java SE 8 API-specific indirect collection classes should be used at runtime when running in a Java SE 8 JVM (the default IndirectCollectionsFactory behavior), or when running in a Java SE 7 JVM, do not configure this system property, and the default behavior will be used. Note: This (deprecated) API is specific to EclipseLink 2.6 only.- See Also:
- Constant Field Values
-
-