Skip to content
Snippets Groups Projects
Commit adcf825d authored by tmortagne's avatar tmortagne
Browse files

XE-1288: Debian packages fail to configure for postgres

parent e02d20b9
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,10 @@ ...@@ -107,6 +107,10 @@
#foreach($mapping in $!xwikiDbHbmDefaultExtraMappings.split(",")) #foreach($mapping in $!xwikiDbHbmDefaultExtraMappings.split(","))
<mapping resource="$mapping"/> <mapping resource="$mapping"/>
#end #end
## Note: This is starting the line in order not to put extra spaces when generated
#if ($xwikiDbVirtualMode)
<property name="xwiki.virtual_mode">$xwikiDbVirtualMode</property>
#end
#end #end
<!-- MySQL configuration. <!-- MySQL configuration.
...@@ -162,7 +166,6 @@ ...@@ -162,7 +166,6 @@
<property name="connection.driver_class">org.postgresql.Driver</property> <property name="connection.driver_class">org.postgresql.Driver</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property> <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="jdbc.use_streams_for_binary">false</property> <property name="jdbc.use_streams_for_binary">false</property>
<property name="xwiki.virtual_mode">schema</property>
<mapping resource="xwiki.postgresql.hbm.xml"/> <mapping resource="xwiki.postgresql.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/> <mapping resource="feeds.hbm.xml"/>
## Note: This is starting the line in order not to put extra spaces when generated ## Note: This is starting the line in order not to put extra spaces when generated
...@@ -173,6 +176,7 @@ ...@@ -173,6 +176,7 @@
#foreach($mapping in $!xwikiDbHbmPostgreSQLExtraMappings.split(",")) #foreach($mapping in $!xwikiDbHbmPostgreSQLExtraMappings.split(","))
<mapping resource="$mapping"/> <mapping resource="$mapping"/>
#end #end
<property name="xwiki.virtual_mode">schema</property>
--> -->
<!-- Oracle configuration. <!-- Oracle configuration.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment