made applicationContext of PersistenceConfig available to the code