Fix AR-1208

- Issuers were using Spring init to load data.  The Hibernate database auto-update was switch on and this bypassed the SchemaBootstrap.
 - Added an AvmBootstrap bean for initializing AVM components that require DB interaction


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-02-05 17:23:09 +00:00
parent 34b12db95e
commit b37ec12379
5 changed files with 87 additions and 7 deletions

View File

@@ -31,7 +31,7 @@
</bean>
<bean id="sessionFactoryBase" abstract="true">
<property name="schemaUpdate">
<value>true</value>
<value>false</value>
</property>
<property name="mappingResources">
<list>
@@ -58,7 +58,7 @@
<!-- from elsewhere -->
<!-- -->
<value>org/jbpm/graph/action/Script.hbm.xml</value>
<value>org/jbpm/db/hibernate.queries.hbm.xml</value>
<value>org/jbpm/db/hibernate.queries.hbm.xml</value>
<value>org/jbpm/graph/def/ProcessDefinition.hbm.xml</value>
<value>org/jbpm/graph/def/Node.hbm.xml</value>
<value>org/jbpm/graph/def/Transition.hbm.xml</value>