Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Warning | ||
---|---|---|
| ||
When using Hash Variable that uses a 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:
|
Note | ||
---|---|---|
| ||
Order By using SQL Query will not work. |
...
English |
---|
Database SQL Query List Data Store gives you the flexibility of designing a |
...
List by using your own custom SQL queries and database connection. |
...
...
Figure 1: JDBC Datalist Database SQL Query Properties
Name | Description | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Datasource | Target database to execute SQL statements on. Choices:-
| |||||||||||||||||||
Custom JDBC Driver | JDBC driver name. Example values:
Only applicable to "Custom Datasource" option. | |||||||||||||||||||
Custom JDBC URL | Database connection URL. Example: jdbc:mysql://localhost:3306/jwdb Only applicable to "Custom Datasource" option. | |||||||||||||||||||
Custom JDBC Username | Database username. Example: root Only applicable to "Custom Datasource" option. | |||||||||||||||||||
Custom JDBC Password | Specified database user's password. Only applicable to "Custom Datasource" option.
| |||||||||||||||||||
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 data store 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. |
...
APP_datalist_using_jdbc_dx_kb.jwa