APISonar


org.eclipse.persistence.internal.sessions.AbstractSession.log

> org > eclipse > persistence > internal > sessions > AbstractSession > log
org APIs eclipse APIs persistence APIs internal APIs sessions APIs AbstractSession APIs log APIs

Example 1
protected AbstractSession session = null;

    public void changeSessionName(String newSessionName) {
        if(!session.getName().equals(newSessionName)) {
            session.log(SessionLog.FINEST, SessionLog.PROPERTIES, "session_name_change", new Object[]{getPersistenceUnitInfo().getPersistenceUnitName(), session.getName(), newSessionName});
            sessionName = newSessionName;
            session.setName(newSessionName);
        }
    }