You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2015/03/03 21:24:27 UTC
isis git commit: ISIS-789: fixing bad resolve in
DataNucleusApplicationComponents
Repository: isis
Updated Branches:
refs/heads/ISIS-789 e2dffa844 -> 64cb67344
ISIS-789: fixing bad resolve in DataNucleusApplicationComponents
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/64cb6734
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/64cb6734
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/64cb6734
Branch: refs/heads/ISIS-789
Commit: 64cb6734463ff8f3332ebcaf87f32b3ec42ef708
Parents: e2dffa8
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Tue Mar 3 20:23:56 2015 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Tue Mar 3 20:23:56 2015 +0000
----------------------------------------------------------------------
.../jdo/datanucleus/DataNucleusApplicationComponents.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/64cb6734/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/datanucleus/DataNucleusApplicationComponents.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/datanucleus/DataNucleusApplicationComponents.java b/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/datanucleus/DataNucleusApplicationComponents.java
index 56fcb3b..8f9fa92 100644
--- a/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/datanucleus/DataNucleusApplicationComponents.java
+++ b/core/runtime/src/main/java/org/apache/isis/objectstore/jdo/datanucleus/DataNucleusApplicationComponents.java
@@ -121,10 +121,6 @@ public class DataNucleusApplicationComponents implements ApplicationScopedCompon
}
- public PersistenceManagerFactory getPersistenceManagerFactory() {
- return persistenceManagerFactory;
- }
-
private void createSchema() {
//REF: http://www.datanucleus.org/products/datanucleus/jdo/schema.html
@@ -137,7 +133,7 @@ public class DataNucleusApplicationComponents implements ApplicationScopedCompon
registerMetadataListener(metaDataManager);
if (storeManager instanceof SchemaAwareStoreManager) {
final SchemaAwareStoreManager schemaAwareStoreManager = (SchemaAwareStoreManager) storeManager;
- schemaAwareStoreManager.createSchema(classesToBePersisted, asProperties(props));
+ schemaAwareStoreManager.createSchemaForClasses(persistableClassNameSet, asProperties(datanucleusProps));
}
}
}