Class SAPNetWeaver_7_1_Platform

  • All Implemented Interfaces:
    ServerPlatform

    public class SAPNetWeaver_7_1_Platform
    extends ServerPlatformBase
    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:
    NetweaverPlatform
    • Constructor Detail

      • SAPNetWeaver_7_1_Platform

        public SAPNetWeaver_7_1_Platform​(DatabaseSession newDatabaseSession)
    • Method Detail

      • getNewTempClassLoader

        public org.eclipse.persistence.internal.helper.JPAClassLoaderHolder getNewTempClassLoader​(PersistenceUnitInfo puInfo)
        Description copied from interface: ServerPlatform
        INTERNAL: JIRA EJBTHREE-572 requires that we use the real classLoader in place of the getNewTempClassLoader(). The override code should stay in place until the UCL3 loader does not throw a NPE on loadClass()
        Specified by:
        getNewTempClassLoader in interface ServerPlatform
        Overrides:
        getNewTempClassLoader in class ServerPlatformBase
        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:
        JPAClassLoaderHolder