Module eclipselink

Class EclipseLinkLogRecord

    • Constructor Detail

      • EclipseLinkLogRecord

        public EclipseLinkLogRecord​(Level level,
                                    String msg)
    • Method Detail

      • getSessionString

        public String getSessionString()
      • setSessionString

        public void setSessionString​(String sessionString)
      • getConnection

        @Deprecated(forRemoval=true,
                    since="4.0.9")
        public org.eclipse.persistence.internal.databaseaccess.Accessor getConnection()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use getConnectionId() instead
        Return the datasource connection accessor.
        Returns:
        the connection accessor
      • setConnection

        @Deprecated(forRemoval=true,
                    since="4.0.9")
        public void setConnection​(org.eclipse.persistence.internal.databaseaccess.Accessor connection)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use getConnectionId() instead
        Set the datasource connection accessor.
        Parameters:
        connection - the connection accessor
      • getConnectionId

        public Integer getConnectionId()
        Return the datasource connection identifier.
        Returns:
        the datasource connection identifier
      • setConnectionId

        public void setConnectionId​(Integer connectionId)
        Set the datasource connection identifier.
        Parameters:
        connectionId - the datasource connection identifier
      • shouldLogExceptionStackTrace

        public boolean shouldLogExceptionStackTrace()
      • setShouldLogExceptionStackTrace

        public void setShouldLogExceptionStackTrace​(boolean shouldLogExceptionStackTrace)
      • shouldPrintDate

        public boolean shouldPrintDate()
      • setShouldPrintDate

        public void setShouldPrintDate​(boolean shouldPrintDate)
      • shouldPrintThread

        public boolean shouldPrintThread()
      • setShouldPrintThread

        public void setShouldPrintThread​(boolean shouldPrintThread)