code: public WorkspaceStorageConnection openConnection() throws RepositoryException
     {
        WorkspaceStorageConnection con = connFactory.openConnection();
        if (STATISTICS_ENABLED)
        {
           con = new StatisticsJDBCStorageConnection(con);
        }
        return con;
     }
docs: {@inheritDoc}