class HibernateSequentialNumberCounterStore implements SequentialNumberCounterStore {

    @Override
    public void deleteCounter( String uid )
    {
        sessionFactory.getCurrentSession().createQuery( "DELETE SequentialNumberCounter WHERE owneruid = :uid" )
            .setParameter( "uid", uid ).executeUpdate();
    }

    public  HibernateSequentialNumberCounterStore( SessionFactory sessionFactory );

}