Running the Persister_jdbc_mysql Project

You can run the processes in the Persister_jdbc_mysql project to see how to persist data in the MySQL database.

Prerequisites

Ensure that you have met the following conditions:
  • The Persister_jdbc_mysql project is imported to TIBCO Business Studio as described in Importing Sample Projects.
  • The MySQL database is installed and running properly.

Procedure

  1. In the Project Explorer view, expand the Persister_jdbc_mysql project.
  2. Click Processes > asProcess > Action.bwp and double-click the process in the Process editor.
  3. From the menu, click Run > Run Configurations.
  4. In the Run Configurations dialog, expand BusinessWorks Application and click BWApplication.
  5. In the right panel, click Deselect All and select the check box next to Persister_jdbc_mysql.application. Then click Apply.
  6. Click Run to run the process.
  7. Click the icon to stop the process.

Result

The tuple stored in the space is persisted in the MySQL database.