Package: libreoffice / 1:6.1.5-3

jdbc-driver-classpaths.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff --git a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
index 9be30a2..59c87cb 100644
--- a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
@@ -147,6 +147,30 @@
       </node>
     </node>
   </node>
+  <node oor:name="JDBC">
+    <node oor:name="DriverClassPaths">
+      <node oor:name="org.mariadb.jdbc.Driver" oor:op="replace">
+        <prop oor:name="Path">
+          <value>file:///usr/share/java/mariadb-java-client.jar</value>
+        </prop>
+      </node>
+      <node oor:name="com.mysql.jdbc.Driver" oor:op="replace">
+        <prop oor:name="Path">
+          <value>file:///usr/share/java/mysql.jar</value>
+        </prop>
+      </node>
+      <node oor:name="org.postgresql.Driver" oor:op="replace">
+        <prop oor:name="Path">
+          <value>file:///usr/share/java/posgresql.jar</value>
+        </prop>
+      </node>
+      <node oor:name="net.sourceforge.jtds.jdbc.Driver" oor:op="replace">
+        <prop oor:name="Path">
+          <value>file:///usr/share/java/jtds.jar</value>
+        </prop>
+      </node>
+    </node>
+  </node>
   <node oor:name="RegisteredNames">
     <node oor:name="EvolutionLocal" oor:op="replace" install:module="evoab2">
       <prop oor:name="Location" oor:type="xs:string">