Database connections pose a possibility to record data connections to different data bases, apart from location and type, centrally. You can access deposited file connections later comfortably, for example in ""actions" (data base) or "DB querys", without all users having to know the access information.


Creating a DB connection in Xima® Formcycle. (1) To the left is a list of existing database connections. (2) On the right users can configure the selected database connection.

Create database connection

  • Open the module "DB-connections" and click on the button "New" in the header of the list (see figure).
  • Allocate a various alias and an optional description.
  • For the data base connection itself, the following data is necessary:
    • Name: Name of the database, which needs to be connected.
    • Description: Description of the database-connection
    • Type: Type of the database. At the time Oracle® MySQL, Oracle® Database, PostgreSQL, Microsoft® SQL Server and "Other (JDBC)" are available.
    • JDBC URL: The JDBC URL of the database-server
    • JDBC driver:The name of the JDBC driver if the type is "Other (JDBC)". This value can automatically be set with the button "Determine", othweise please refer Database configuration
    • Username: Username of the database user.
    • Password: Password of the data base user.
    • Number of connections at once: Number of connections to the data base at once. On a great many of accesses to this connection, the value should be > 10. Notice here the utilization of the database server if necessary and accommodate the settings correspondingly. Normally the default setting 10 should be enough. Confirm the information with the button "Save".
    • Timeout: The idle timeout in milliseconds before the a database-connection is closed.
  • After creating the DB-coonection, it appears in the left part (list) of the connections.

Before saving you have the opportunity to test the inserted data. The button "Tect connection" checks, if a connection was set up successfully. If no connection was set up, an error message is displayed. Then maybe approach the concerned administrator.

Upload and execute script data

Via the button "Upload SQL file and execute" you can upload an SQL file, which is executed directly after uploading.

Delete database connections

A DB-connection can only be deleted , if it is not referenced by an action or data source anymore.

Tags:
Copyright 2000-2024