Skip to content

Commit 0c98f74

Browse files
authored
Update external-database-connector.md
1 parent fe76609 commit 0c98f74

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

content/en/docs/marketplace/platform-supported-content/modules/external-database-connector.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,9 @@ To connect to PostgreSQL when the application is running in Mendix Cloud, follow
265265

266266
### Configure Database Schema Information
267267

268-
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. To do so, follow these steps:
268+
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.
269269

270+
If you are using Studio-pro 11.12 or earlier, Follow below steps
270271
1. Open the **App** menu and select **Deploy for Eclipse**.
271272
2. Extend the class MxQueryBasedSchemaInfoProvider.
272273
3. Override the following methods based on your requirements:
@@ -276,6 +277,16 @@ The Browse Database Schema tab might not display a comprehensive overview of all
276277
* getFunctionMetaDataQuery
277278
4. Use the provided example, MxDb2SchemaInfoProvider for IBM Db2, for a better understanding of how to customize the schema information.
278279

280+
If you are on Studio-pro 11.13 or later version, Please follow below steps:
281+
1.Use Mendix public API class QueryBasedSchemaInfoProvider to extend your java class.
282+
for example : Create MxDb2SchemaInfoProvider.java inside \MendixApp\javasource\myfirstmodule\myloader
283+
2.Override the following methods based on your requirements:
284+
* getTableMetaDataQuery
285+
* getViewMetaDataQuery
286+
* getProcedureMetaDataQuery
287+
* getFunctionMetaDataQuery
288+
289+
279290
### Running Queries and Handling Query Responses
280291

281292
Execute queries as you would with supported databases, and retrieve responses in the associated entity. Refer to the documentation of your specific JDBC library for detailed syntax and execution options.

0 commit comments

Comments
 (0)