Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Table of Contents
Warning | ||
---|---|---|
| ||
When using Hash Variable that uses URL parameter or user-inputted value in the SQL query, ensure that these hash variable(s) are escaped in the query! Make use of hash variable escape keywords, see Hash Variable - Escaping the Resultant Hash Variable. Example of VULNERABLE query:
To fix this, use ?sql hash variable escape:
|
English |
---|
JDBC Datalist Database Binder gives you the flexibility of designing a datalist by using your own custom SQL queries and database connection. |
Figure 1: JDBC Datalist Properties
Name | Description | Screens (Click to view) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Datasource | Target database to execute SQL statements on. Choices:- | Datasource
|
| |||||||||||||||||
Custom JDBC Driver | Custom JDBC Driver. This field is required when Custom Datasource is selected in Datasource above. Example: comdriver name. Example values:
Only applicable to "Custom Datasource" option. | |||||||||||||||||||
Custom JDBC URL | Custom JDBC Database connection URL. This field is required when Custom Datasource is selected in Datasource above.Example: jdbc:mysql://localhost /jwdb?characterEncoding=UTF8&useSSL=falseOnly applicable to "Custom Datasource" option. | |||||||||||||||||||
Custom JDBC Username | Database username. Example: root Only applicable to "Custom Datasource" option Custom JDBC Username. This field is required when Custom Datasource is selected in Datasource above. | |||||||||||||||||||
Custom JDBC Password | Specified database user's password. Only applicable to "Custom Datasource" option Custom JDBC Password. This field is required when Custom Datasource is selected in Datasource above.
| |||||||||||||||||||
SQL SELECT Query | SQL Select query to populate the datalist.
| |||||||||||||||||||
Primary Key | Define the primary key column. By default, it should be "id". | |||||||||||||||||||
Optimize query for paging | When checked, the binder only fetches selected page's items rather than the returning the whole data set to optimize the performance for large dataset paging. Only works for MySQL and Microsoft SQL Server 2012 onwards. |
...