Skip to content

Commit 0cb149c

Browse files
DOCSP-11470 SQL with Tableau should specify Fat Jar (#50)
* DOCSP-11470 SQL with Tableau should specify Fat Jar
1 parent 426f8de commit 0cb149c

File tree

5 files changed

+29
-29
lines changed

5 files changed

+29
-29
lines changed
37 KB
Loading
Loading

source/includes/steps-connect-with-maven.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ title: "Configure the driver for your Maven application."
55
content: |
66
77
To connect with your Maven application:
8+
9+
#. Click on the JDBC driver version in the `JDBC Driver download page
10+
<https://search.maven.org/search?q=a:mongodb-jdbc>`__ to open the
11+
:guilabel:`JDBC Driver` page for that version.
812
9-
a. Click on the JDBC driver version that you downloaded to
10-
open the :guilabel:`JDBC Driver` page for that version.
11-
12-
#. Click the :guilabel:`Maven` tab if it is already not open and
13-
copy the dependency shown in the tab.
13+
#. Click the copy icon in the :guilabel:`Apache Maven` on the
14+
right-hand side to copy the dependency.
1415
1516
For example:
1617
@@ -19,7 +20,7 @@ content: |
1920
:alt: Image highlighting JDBC Driver Maven dependency
2021
---
2122
level: 4
22-
stepnum: 1
23+
stepnum: 2
2324
ref: maven-project-config
2425
title: "Open your Maven project and add the dependency to your
2526
``pom.xml`` file."

source/includes/steps-connect-with-tableau.yaml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
level: 4
22
stepnum: 1
3-
ref: jdbc-driver-download-location
4-
title: "`Move the downloaded
5-
<https://mvnrepository.com/artifact/org.mongodb/mongodb-jdbc>`__
6-
MongoDB {+adl+} JDBC driver JAR file to one of the following folders."
3+
ref: jdbc-driver-download
4+
title: "`Download <https://search.maven.org/search?q=a:mongodb-jdbc>`_ the
5+
MongoDB {+adl+} JDBC driver JAR file and all associated dependencies by
6+
selecting ``all.jar`` from the dropdown list in the :guilabel:`Download`
7+
column."
8+
content: |
9+
.. figure:: /images/download-jdbc-for-tableau.png
10+
:figwidth: 650px
11+
:alt: Image highlighting JDBC Driver for Tableau
12+
---
13+
level: 4
14+
stepnum: 2
15+
ref: jdbc-driver-location
16+
title: "Move the downloaded MongoDB {+adl+} JDBC driver JAR file to one of the
17+
following folders."
718
content: |
819
920
.. list-table::
@@ -20,7 +31,7 @@ content: |
2031
- ``~/Library/Tableu/Drivers``
2132
---
2233
level: 4
23-
stepnum: 2
34+
stepnum: 3
2435
ref: jdbc-driver-config-tableau
2536
title: "Configure the driver for your Tableau."
2637
content: |
@@ -64,13 +75,13 @@ content: |
6475
``true``.
6576
---
6677
level: 4
67-
stepnum: 3
78+
stepnum: 4
6879
ref: tableau-open
6980
title: "Open :guilabel:`Tableau Desktop` to configure the
7081
database to connect to."
7182
---
7283
level: 4
73-
stepnum: 4
84+
stepnum: 5
7485
ref: tableau-connect
7586
title: "From the left navigation under :guilabel:`Connect To a Server`,
7687
select :guilabel:`More` and click :guilabel:`Other Databases (JDBC)`."
@@ -81,7 +92,7 @@ content: |
8192
:alt: Tableau UI for selecting other databases
8293
---
8394
level: 4
84-
stepnum: 5
95+
stepnum: 6
8596
ref: tableau-config-jdbc
8697
title: "In the :guilabel:`Other Databases (JDBC)` window, specify
8798
the following settings:"
@@ -127,16 +138,15 @@ content: |
127138
.. note::
128139
129140
You can leave the :guilabel:`Username` and :guilabel:`Password`
130-
fields empty if you specified them in the :ref:`properties
131-
<jdbc-driver-download>` file.
141+
fields empty if you specified them in the properties file.
132142
---
133143
level: 4
134-
stepnum: 6
144+
stepnum: 7
135145
ref: tableau-signin
136146
title: "Click :guilabel:`Sign In`."
137147
---
138148
level: 4
139-
stepnum: 7
149+
stepnum: 8
140150
ref: tableau-select-db
141151
title: "From the left navigation, select the database to connect to
142152
from the drop-down under :guilabel:`Database`."

source/tutorial/jdbc-driver.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,6 @@ generating and setting schemas for your collections and views.
3131
This page describes how to install and configure the JDBC driver for
3232
connecting to {+adl+}.
3333

34-
.. _jdbc-driver-download:
35-
36-
Download JDBC Driver
37-
--------------------
38-
39-
You can `download <https://mvnrepository.com/artifact/org.mongodb/mongodb-jdbc>`__
40-
the latest MongoDB {+adl+} JDBC driver JAR file and all associated
41-
dependencies by clicking on the desired version of the JDBC driver. To use the
42-
driver with your Maven project, see :ref:`jdbc-driver-connect-maven` and to
43-
connect with Tableau, see :ref:`jdbc-driver-connect-tableau`.
44-
4534
.. _jdbc-driver-connect-maven:
4635

4736
Connect with Maven Project

0 commit comments

Comments
 (0)