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/12 13:43:50 UTC

[4/5] isis git commit: ISIS-1064: adding property to simpleapp's persistor_datanucleus.properties

ISIS-1064: adding property to simpleapp's persistor_datanucleus.properties


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/d9a886eb
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/d9a886eb
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/d9a886eb

Branch: refs/heads/master
Commit: d9a886eb35cd5cf585ceac17ea5e02d6782af10d
Parents: fe154a0
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Thu Mar 12 12:31:05 2015 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Thu Mar 12 12:39:01 2015 +0000

----------------------------------------------------------------------
 .../main/webapp/WEB-INF/persistor_datanucleus.properties    | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/d9a886eb/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/persistor_datanucleus.properties
----------------------------------------------------------------------
diff --git a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/persistor_datanucleus.properties b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/persistor_datanucleus.properties
index 1ad6572..6f3aae6c 100644
--- a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/persistor_datanucleus.properties
+++ b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/persistor_datanucleus.properties
@@ -21,7 +21,14 @@
 
 # identifies @PersistenceCapable entities to be eagerly registered
 # if move class to other package (eg com.mycompany.myapp.dom) then update 
-isis.persistor.datanucleus.RegisterEntities.packagePrefix=dom
+isis.persistor.datanucleus.RegisterEntities.packagePrefix=domainapp.dom.modules
+
+#
+# hook to perform additional initialization when JDO class metadata is loaded
+# default implementation will attempt to run 'create schema' for the specified schema.
+#
+#isis.persistor.datanucleus.classMetadataLoadedListener=org.apache.isis.objectstore.jdo.datanucleus.CreateSchemaFromClassMetadata
+
 
 # whether to persist the event data as a "clob" or as a "zipped" byte[]
 # default is "zipped"