* Initialize Persistence
*/
String persistenceImplName = config.get(AdaptrexConfig.PERSISTENCE_ORM);
try {
if (persistenceImplName == null || persistenceImplName.isEmpty()) {
persistenceManager = new JpaPersistenceManager(config);
} else {
persistenceManager = (AdaptrexPersistenceManager) Class.forName(persistenceImplName).getDeclaredConstructor(AdaptrexConfig.class).newInstance(config);
}
} catch (Exception ex) {
log.warn("Error", ex);