11-15-2006 07:15 AM
12-01-2006 11:27 AM
12-04-2006 05:09 AM
12-04-2006 06:20 AM
<bean id="schemaBootstrap" class="org.alfresco.repo.domain.schema.SchemaBootstrap" >
<property name="localSessionFactory">
<ref bean="&sessionFactory"></ref> <!– inject the actual factory, not a session –>
</property>
<property name="updateSchema">
<value>${db.schema.update}</value>
</property>
<property name="postCreateScriptUrls">
<list>
<value>classpath:alfresco/dbscripts/create/1.4/${db.script.dialect}/post-create-indexes.sql</value>
</list>
</property>
<property name="validateUpdateScriptPatches">
<list>
</list>
</property>
<property name="applyUpdateScriptPatches">
<list>
<ref bean="patch.schemaUpdateScript-V1.4-1" />
<ref bean="patch.schemaUpdateScript-V1.4-2" />
</list>
</property>
</bean>
The important property here is db.schema.update, which is defined in repository.properties and can be overridden. If you have the default
db.schema.update=true
then a SQL script will be generated and executed for all the missing bits.Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.