Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
usingdatabasebeansforallproducts [2021/04/04 21:46] wikiadmin created |
usingdatabasebeansforallproducts [2022/01/02 22:09] (current) wikiadmin [Introduction] |
||
---|---|---|---|
Line 1: | Line 1: | ||
=====Using the Database Servers for MIStudio and TransSECS===== | =====Using the Database Servers for MIStudio and TransSECS===== | ||
- | Database Servers in TransSECS (Devices) and MIStudio use the same code base and therefore are configured and used in much the same way. For TransSECS Devices you add a Database Connection Manager to the Devices node, then add specific database servers to access the table data for that database. In MIStudio you have the choice of using the Devices node to add a Database Connection Manager or you can drag and drop a Database Connection Manager bean into the Diagram Window to configure the connection to the Database and then use this connection for various database server beans. | + | ==== Introduction ==== |
- | The available | + | Database |
- | * Database Connection | + | For all examples, a Database Connection |
- | | + | |
+ | To use any of the database servers, a JDBC Driver jar specific to the database must be added to the project. For MIStudio, use the Drivers node of the project, right click and browse for this jar on your computer system. When you deploy to MIX from MIStudio, this jar will be added to the MIX deployment. For TransSECS this jar must be added to a resources directory of your project. When you build your TransSECS project this jar will be added to the deployment. | ||
+ | |||
+ | To read data from the database or to write data to the database, there are a variety of database server " | ||
+ | |||
+ | ==== Using the Database Servers in MIStudio==== | ||
+ | |||
+ | [[UsingDatabaseServersInMIStudio|Using the Database Servers in MIStudio Graphically]] | ||
+ | |||
+ | This shows you some examples of setting up a DatabaseConnectionManager in MIStudio and using it to read and write data to a table in the database. | ||
+ | |||
+ | |||
+ | ==== Database Servers in TransSECS and MIStudio Devices Node ==== | ||
+ | |||
+ | [[UsingDatabaseServersinDevicesNodes|Using the Database Servers in MIStudio and TransSECS Devices Node]] | ||
+ | |||
+ | Database Connection | ||
+ | ==== Using the Database Servers in Scripts (MIStudio and TransSECS)==== | ||
+ | |||
+ | [[UsingDatabaseServerBeansInScripting|Using the Database Servers in Scripts for MIStudio and TransSECS]] | ||
+ | |||
+ | Using scripts in your project can provide you with a lot of flexibility in your back-end logic. | ||
- | Right click on the Devices node to see the list of Device Drivers | ||
- | | ||
- | {{: | ||
- | The generic Database Connection driver is configured with these properties: | ||