Previous Page Next Page. In order to enable you to conveniently set different connections in JReport Server, a configuration file datasource. This allows you to control the catalog data source connections in JReport Server to connect dynamically to your production data sources. The file datasource. Change this file according to the data source you want to use. Two types of connections are supported by JReport Server. The data-sources. The root element for this deployment descriptor.
It contains information about the associated application and the DataSource object that is created. Defines the application that is associated to the DataSource. This tag is ignored if the data-sources. Contains the properties of the DataSource object. These include: name of used driver, name of DataSource object, alias must be unique , number of supported connections, isolation level information optional , number of initial connections optional , driver and connector properties.
Contains: description , data-source-name , alias , driver-name , init-connections , max-connections , max-time-to-wait-connection , expiration-control , isolation-level , sql-engine , jdbc Specifies the name of the DataSource object to be created.
It is used by the application during lookup or dependency injection. The name must be unique. Contains an alternative name of the DataSource that can be used by the application during lookup or dependency injection. This name has been specified during the driver deployment. Specifies the time in seconds to wait for a connection to become free if max-connections number reached.
Defines parameters for connection life control. These are connection lifetime and a period to run a cleanup thread. Contains: connection-lifetime , run-cleanup-thread.
Specifies a period in seconds for which a connection can stay. The connection is closed after this period. Specifies a period in seconds after which the system runs a thread to clean up unused connections.
Determines the transaction isolation level for the DataSource object. If you define the schema, it will have a 2nd connection string for the schema. As shown below, the null 2nd parameter is the connection string for the schema. View in admin portal Edit content on web Edit in desktop.
Windward Documentation. Search term. In the Connection Editor window click on the New tab. The Details pane will change to prompt you for your data source details. Enter a Name for your data source connection. Optional Choose your Authentication Protocol. The Authentication Protocol you choose will set the contents of the contextual Properties window below. This provides significant additional information for Report Designer: all possible nodes the XML file just gives us the nodes used ; the data type of each node; and a description for each node which we then display as a tooltip in the data source schema tree.
You can set this to: No schema - You have no schema file.
0コメント