@Override
    @Transactional
    public void tryAtomically(AtomicDirectoryOperation<ObjectType> operation)
            throws GuacamoleException {

        // Execute the operation atomically - the @Transactional annotation
        // specifies that the entire operation will be performed in a transaction
        operation.executeOperation(true, this);

    }
An implementation of Directory that uses database transactions to guarantee
atomicity for any operations supplied to tryAtomically().
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/JDBCDirectory.java