case IN_MEMORY:
properties.put("javax.persistence.jdbc.url", Configuration.JDBC_IN_MEMORY_URL);
properties.put("javax.persistence.jdbc.driver", Configuration.JDBC_IN_MEMROY_DRIVER);
properties.put("eclipselink.ddl-generation", "drop-and-create-tables");
properties.put("eclipselink.orm.throw.exceptions", "true");
jpaPersistModule.properties(properties);
return jpaPersistModule;
case REMOTE:
properties.put("javax.persistence.jdbc.url", configuration.getDatabaseUrl());
properties.put("javax.persistence.jdbc.driver", configuration.getDatabaseDriver());
break;