- addInterface(DATASOURCE, ds, aScope);
- DatabaseType type = DatabaseType.valueOf(dbProps.getProperty("database.type"));
-
- ORMappingConfig config = new ORMappingConfig(true, type);
-
- addInterface(ORM_CONFIG, config, aScope);
-
- return ds;
+ addInterface(DATASOURCE, ds, aScope);
+
+ DatabaseType type = DatabaseType.valueOf(dbProps.getProperty(
+ "database.type"));
+
+ ORMappingConfig config = new ORMappingConfig(true, type);
+
+ addInterface(ORM_CONFIG, config, aScope);
+
+ return ds;