You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/platform-supported-content/modules/external-database-connector.md
+20-18Lines changed: 20 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ aliases:
10
10
## Introduction
11
11
12
12
{{% alert color="info" %}}
13
-
You do not need to download this module from the Marketplace if you are using Studio Pro 11.13 or later, as it is included as part of the Studio Pro offering.For more details see [Connect to an External Database](/refguide/external-database-connection/).
13
+
If you are using Studio Pro 11.13 or later, you do not need to download this module from the Marketplace, as the External Database Connector comes included with Studio Pro. For more information, see [Connect to an External Database](/refguide/external-database-connection/).
14
14
{{% /alert %}}
15
15
16
16
Connect to Microsoft SQL, MySQL, PostgreSQL, Oracle, and Snowflake databases with the [External Database Connector](https://marketplace.mendix.com/link/component/219862).
@@ -142,8 +142,9 @@ WHERE empno IN
142
142
```
143
143
144
144
Here, the parameter `EmpIdList` is of type String with the value `[1,7946,3,4,7942,7943,7945]`.
145
+
145
146
{{% alert color="info" %}}
146
-
Parameter names cannot start with a number, following the Mendix naming convention.
147
+
Parameter names cannot start with a number.
147
148
{{% /alert %}}
148
149
149
150
### Using Query Response {#use-query-response}
@@ -270,24 +271,25 @@ To connect to PostgreSQL when the application is running in Mendix Cloud, follow
270
271
271
272
The Browse Database Schema tab might not display a comprehensive overview of all available schemas for certain databases. You can customize this behavior using the Configure option.
272
273
273
-
If you are using Studio-pro 11.12 or earlier, Follow below steps
274
+
If you are using Studio Pro 11.13 or later, follow the steps below:
275
+
276
+
1. Use the Mendix public API class QueryBasedSchemaInfoProvider to extend your Java class. For example, create `MxDb2SchemaInfoProvider.java` inside `\MendixApp\javasource\myfirstmodule\myloader`.
277
+
2. Override the following methods based on your requirements:
278
+
*`getTableMetaDataQuery`
279
+
*`getViewMetaDataQuery`
280
+
*`getProcedureMetaDataQuery`
281
+
*`getFunctionMetaDataQuery`
282
+
283
+
If you are using Studio Pro 11.12 or earlier, follow the steps below:
284
+
274
285
1. Open the **App** menu and select **Deploy for Eclipse**.
275
-
2. Extend the class MxQueryBasedSchemaInfoProvider.
286
+
2. Extend the class `MxQueryBasedSchemaInfoProvider`.
276
287
3. Override the following methods based on your requirements:
277
-
* getTableMetaDataQuery
278
-
* getViewMetaDataQuery
279
-
* getProcedureMetaDataQuery
280
-
* getFunctionMetaDataQuery
281
-
4. Use the provided example, MxDb2SchemaInfoProvider for IBM Db2, for a better understanding of how to customize the schema information.
282
-
283
-
If you are on Studio-pro 11.13 or later version, Please follow below steps:
284
-
1.Use Mendix public API class QueryBasedSchemaInfoProvider to extend your java class.
285
-
for example : Create MxDb2SchemaInfoProvider.java inside \MendixApp\javasource\myfirstmodule\myloader
286
-
2.Override the following methods based on your requirements:
287
-
* getTableMetaDataQuery
288
-
* getViewMetaDataQuery
289
-
* getProcedureMetaDataQuery
290
-
* getFunctionMetaDataQuery
288
+
*`getTableMetaDataQuery`
289
+
*`getViewMetaDataQuery`
290
+
*`getProcedureMetaDataQuery`
291
+
*`getFunctionMetaDataQuery`
292
+
4. Use the provided example, `MxDb2SchemaInfoProvider` for IBM Db2, for a better understanding of how to customize the schema information.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/integration/use-platform-supported-content/external-database-connector/_index.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ description: "Overview of how to configure the [External Database Connection doc
11
11
The [External Database Connector](/appstore/modules/external-database-connector/) integrates with Studio Pro with an **External database connection** service document. Use this document to connect to external databases in Studio Pro.
12
12
13
13
{{% alert color="info" %}}
14
-
**Studio Pro 11.12 and earlier:** You must install the [External Database Connector](https://marketplace.mendix.com/link/component/219862) from the Marketplace for external database connections to work. For instructions, see [Use Marketplace Content in Studio Pro](/appstore/use-content/).
15
-
**Studio Pro 11.13 and later:**External database connectivity is built into Studio Pro — no Marketplace download is required.
14
+
For Studio Pro 11.13 and later, external database connectivity is built into Studio Pro. Therefore you do not need to download the Marketplace module for use.
15
+
For Studio Pro 11.12 and earlier, you must install the [External Database Connector](https://marketplace.mendix.com/link/component/219862) from the Marketplace for external database connections to work. For instructions, see [Use Marketplace Content in Studio Pro](/appstore/use-content/).
16
16
{{% /alert %}}
17
17
18
18
## Connect to the Database Wizard {#wizard}
@@ -27,8 +27,9 @@ Enter or select the following:
27
27
***Database Type** — Microsoft SQL, MySQL, Oracle, PostgreSQL, or Snowflake
28
28
29
29
{{% alert color="info" %}}
30
-
From Studio Pro 11.13, when you select a database type, the required JDBC library is automatically added to the **Java Dependencies** tab in [Module Settings](/refguide/module-settings/) of the module you are working on. The dependency is downloaded to the **vendorlib** folder when you run the app or trigger Java dependency management. To use a different version, you can edit the dependency in [Module Settings](/refguide/module-settings/).
31
-
For BYOD user has to add the required JDBC driver details in module settings
30
+
From Studio Pro 11.13 and later, when you select a database type, the required JDBC library is automatically added to the **Java Dependencies** tab in [Module Settings](/refguide/module-settings/) of the module you are working on. The dependency is downloaded to the **vendorlib** folder when you run the app or trigger Java dependency management. To use a different version, you can edit the dependency in [Module Settings](/refguide/module-settings/).
31
+
32
+
For BYOD, you have to add the required JDBC driver details in Module Settings.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/integration/use-platform-supported-content/external-database-connector/query-and-integrate-external-data.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,10 @@ This document teaches you how to do the following:
22
22
23
23
## Prerequisites
24
24
25
-
***Studio Pro 11.12 and earlier: Ensure you have an active connection using the External Database Connection document. For information on how to configure the connector, see [External Database Connector](/appstore/modules/external-database-connector/) in the *Marketplace Guide*.
26
-
***Studio Pro 11.13 and later: External database connectivity is built into Studio Pro — no Marketplace download is required. {{% /alert %}}
25
+
{{% alert type="info" %}}
26
+
For Studio Pro 11.13 and later, external database connectivity is built into Studio Pro. Therefore you do not need to download the Marketplace module for use.
27
+
28
+
For Studio Pro 11.12 and earlier, ensure you have an active connection using the External Database Connection document. For information on how to configure the connector, see [External Database Connector](/appstore/modules/external-database-connector/) in the *Marketplace Guide*. {{% /alert %}}
27
29
28
30
* If additional connection properties are required to connect, you can alternatively use **JDBC Connection String**.
29
31
* If certificate-based authentication is required for PostgreSQL connections, ensure that all necessary certificates are added before running the app.
0 commit comments