Breadcrumb
- Sabre Red 360 Software Development Kit Help
- Desktop Red Apps
- Development Languages and Technologies
- Sabre Scribe Scripts
- Custom Database Connectivity in Scribe
Custom Database Connectivity in Scribe
If your script connects to a database, you can provide the database driver with your Red App plug-in to make sure the correct version will be used.
-
Create a directory called lib in your plug-in and put your driver inside.
-
In Plug-in Editor navigate to the Runtime tab.
-
Click the Add button in the Classpath section.
-
In the JAR Selection dialog check the Update the build path check box.
-
Select your driver file and click OK.
IMPORTANT NOTES:
-
Your selection must point to the driver file. If you select only the directory, it will not work.
-
Store the Driver file in the same plug-in as your Scribe scripts.