- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.

Sample startup script for database integration

You can integrate IT Advisor: Energy Efficiency with any JDBC or ODBC compliant database. To do this, you must configure a data provider in the startup script.
The configuration of the data provider, such as a database, is done in the startup script. You may need to add additional database drivers to connect to the database, if the generic drivers shipped with ITA: Energy Efficiency are not sufficient. Place these files in the folder /opt/jboss-as/server/isxo/lib on the server.
The sample script shows you how to connect to a Microsoft SQL database. The additional database drivers are located in the file sqljdbc.jar, and the class name of the database driver is SQLServerDriver. Replace these values with values of choice to integrate to other databases.
/* /* // Make the necessary classes available to the script // Define location of driver file // Add the driver to the classpath // Load the driver class |
Link copied. Please paste this link to share this article on your social media post.