@Override
public Set<Object> getSingletons() {
Set<Object> classes = new HashSet<Object>();
PersonInfoStorage storage = new PersonInfoStorage();
try {
Class.forName("org.hsqldb.jdbcDriver");
EntityManagerFactory emFactory = Persistence.createEntityManagerFactory("persistenceUnitOpenJPA");
storage.setEntityManager(emFactory.createEntityManager());
Map<String, String> beanPropertiesMap = new HashMap<String, String>();
beanPropertiesMap.put("fatherName", "father.name");
beanPropertiesMap.put("father", "father.name");
beanPropertiesMap.put("childName", "children.name");
storage.setBeanProperties(beanPropertiesMap);
storage.init();
} catch (Throwable ex) {
throw new RuntimeException(ex);
}