Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XWiki
xwiki-platform
Commits
adcf825d
Commit
adcf825d
authored
11 years ago
by
tmortagne
Browse files
Options
Downloads
Patches
Plain Diff
XE-1288: Debian packages fail to configure for postgres
parent
e02d20b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/hibernate.cfg.xml.vm
+5
-1
5 additions, 1 deletion
...uration-resources/src/main/resources/hibernate.cfg.xml.vm
with
5 additions
and
1 deletion
xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/hibernate.cfg.xml.vm
+
5
−
1
View file @
adcf825d
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment