Class SapLUWHandle

java.lang.Object
org.frankframework.extensions.sap.jco3.SapLUWHandle
All Implemented Interfaces:
AutoCloseable

public class SapLUWHandle extends Object implements AutoCloseable
Wrapper for SAP sessions, used to control Logical Units of Work (LUWs).
Since:
5.0
Author:
Gerrit van Brakel, Jaco de Groot
  • Method Details

    • createHandle

      public static SapLUWHandle createHandle(PipeLineSession session, String sessionKey, SapSystemImpl sapSystem, boolean useTid) throws com.sap.conn.jco.JCoException
      Throws:
      com.sap.conn.jco.JCoException
    • retrieveHandle

      public static SapLUWHandle retrieveHandle(PipeLineSession session, String sessionKey)
    • retrieveHandle

      public static SapLUWHandle retrieveHandle(PipeLineSession session, String sessionKey, boolean create, SapSystemImpl sapSystem, boolean useTid) throws com.sap.conn.jco.JCoException
      Throws:
      com.sap.conn.jco.JCoException
    • releaseHandle

      public static void releaseHandle(PipeLineSession session, String sessionKey) throws com.sap.conn.jco.JCoException
      Throws:
      com.sap.conn.jco.JCoException
    • begin

      public void begin() throws com.sap.conn.jco.JCoException
      Throws:
      com.sap.conn.jco.JCoException
    • commit

      public void commit() throws com.sap.conn.jco.JCoException
      Throws:
      com.sap.conn.jco.JCoException
    • rollback

      public void rollback()
    • release

      public void release() throws com.sap.conn.jco.JCoException
      Throws:
      com.sap.conn.jco.JCoException
    • close

      public void close() throws PipeRunException
      Specified by:
      close in interface AutoCloseable
      Throws:
      PipeRunException