class MetaData implements WikiConstants {

	public long getNumberOfRedirectPages()
	{
		Session session = this.wiki.__getHibernateSession();
		session.beginTransaction();
		session.lock(hibernateMetaData, LockMode.NONE);
		long nrofRedirects = hibernateMetaData.getNrofRedirects();
		session.getTransaction().commit();
		return nrofRedirects;
	}

	protected  MetaData(Wikipedia wiki);

}