Module eclipselink
Class SAPNetWeaver_7_1_Platform
java.lang.Object
org.eclipse.persistence.platform.server.ServerPlatformBase
org.eclipse.persistence.platform.server.sap.SAPNetWeaver_7_1_Platform
- All Implemented Interfaces:
ServerPlatform
Server platform for SAP NetWeaver AS Java 7.1 (including EhP 1), 7.2 and
follow-up releases.
Known limitations:
- SAP NetWeaver AS Java (version 7.1 to 7.2) is a Java EE 5 server, hence supporting only JPA 1.0. Namely, criteria queries cannot be used.
- Dynamic weaving cannot be used inside SAP NetWeaver AS Java. Applications should use static weaving instead.
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean, threadPool, threadPoolSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends ExternalTransactionController> INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use For this server platform.org.eclipse.persistence.internal.helper.JPAClassLoaderHoldergetNewTempClassLoader(jakarta.persistence.spi.PersistenceUnitInfo puInfo) SAP NetWeaver does not support dynamic byte code weaving.PUBLIC: getServerNameAndVersion(): Talk to the relevant server class library, and get the server name and versionMethods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getJNDIConnectorLookupType, getModuleName, getPartitionID, getServerLog, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTA11, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, unwrapConnection, usesPartitions, wasFailureCommunicationBased
-
Constructor Details
-
SAPNetWeaver_7_1_Platform
-
-
Method Details
-
getExternalTransactionControllerClass
Description copied from class:ServerPlatformBaseINTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use For this server platform. This is read-only.If the user wants a different external transaction controller class than the provided ServerPlatform(s), we recommend subclassing org.eclipse.persistence.platform.server.ServerPlatformBase (or a subclass), and overriding:
ServerPlatformBase.getExternalTransactionControllerClass()
for the desired behavior.
- Specified by:
getExternalTransactionControllerClassin interfaceServerPlatform- Specified by:
getExternalTransactionControllerClassin classServerPlatformBase- Returns:
- Class externalTransactionControllerClass
- See Also:
-
getServerNameAndVersion
Description copied from class:ServerPlatformBasePUBLIC: getServerNameAndVersion(): Talk to the relevant server class library, and get the server name and version- Specified by:
getServerNameAndVersionin interfaceServerPlatform- Overrides:
getServerNameAndVersionin classServerPlatformBase- Returns:
- String serverNameAndVersion
-
getNewTempClassLoader
public org.eclipse.persistence.internal.helper.JPAClassLoaderHolder getNewTempClassLoader(jakarta.persistence.spi.PersistenceUnitInfo puInfo) SAP NetWeaver does not support dynamic byte code weaving. We return the original class loader in order to prevent dynamic weaving.- Specified by:
getNewTempClassLoaderin interfaceServerPlatform- Overrides:
getNewTempClassLoaderin classServerPlatformBase- Parameters:
puInfo- - the persistence unit info- Returns:
- ClassLoaderHolder - a composite object containing the classLoader and the flag that is true if the classLoader returned is temporary
- See Also:
-