broker = brokerPool.get(user);
final org.exist.collections.Collection coll =
broker.getOrCreateCollection( transaction, collName );
if (created != null)
{coll.setCreationTime(created.getTime());}
broker.saveCollection(transaction, coll);
transact.commit(transaction);
} catch ( final EXistException e ) {
transact.abort(transaction);
throw new XMLDBException( ErrorCodes.VENDOR_ERROR,
"failed to create collection " + collName, e);