Query

The properties of a query are:

Property Name Description
Description Specifies the description of the query.

Data type: String

Enable SQL Statement Creator Specifies whether or not the query uses the dynamic query interface to get the result set. When it is set to true, the query can be re-generated at runtime using the dynamic query interface (for more information, see Dynamic queries).

Data type: Boolean

Maximum Duration Specifies the maximum elapsed time allowed to fetch data from the data source when the query runs, measured in seconds. If the value is set to zero or is blank, it means the time will be unlimited.

For usage about the property, see Limiting the query run time and number of records.

Data type: Integer

Maximum Rows Specifies the maximum number of rows that will be fetched from the data source when the query runs. If the value is set to zero or is blank, it means the number will be unlimited.

For usage about the property, see Limiting the query run time and number of records.

Data type: Integer

Name Specifies the name of the query.

Data type: String

Path Name Specifies the path in pre-join that the query is created on (for more information, see Creating queries using pre-join).

Data type: String

Push Down Group Query Specifies whether to push down group level summary computations in reports that are created based on the query to the DBMS at runtime. Choose an option from the drop-down list.
  • default - The setting of the Push Down Group Query property on the JDBC connection where the query is created will be applied.
  • true - JReport will push down the group level summary computations to the DBMS if the DBMS can do the computations, otherwise, JReport will do the computations itself.
  • false - JReport will do the group level summary computations itself.

Data type: Boolean

Read Only Specifies whether or not the query will be read only.

Data type: Enumeration

Share Specifies whether or not to share the query (for details, see Locking queries).

Data type: Boolean

Transaction Mode Specifies the transaction mode for the query. Choose an option from the drop-down list.
  • default - Indicates the transaction information cannot be got from JDBC connection.
  • none - Indicates that transactions are not supported.
  • read uncommitted - Dirty reads, non-repeatable reads and phantom reads can occur. This mode will speed up the transaction of the catalog.
  • read committed - Dirty reads are prevented; non-repeatable reads and phantom reads can occur.
  • repeatable read - Dirty reads and non-repeatable reads are prevented; phantom reads can occur.
  • serializable - Dirty reads, non-repeatable reads and phantom reads are prevented.

Data type: Enumeration

The following topic shows the properties of a query column in detail: