public Transaction createWriteActiveTransaction(Transaction transaction, ApplicationId applicationId, long sessionId) {
        return database().createWriteActiveTransaction(transaction, applicationId, sessionId);
    }
Returns a transaction which writes the given session id as the currently active for the given application.

@param applicationId An {@link ApplicationId} that represents an active application.
@param sessionId session id belonging to the application package for this application id.
configserver/src/main/java/com/yahoo/vespa/config/server/application/TenantApplications.java