Connecting to HP Vertica
In order to use HP Vertica, you need to use a specific Connection element, Connection.Vertica, to connect your Logi application to a Vertica database.
As shown above, the Connection.Vertica element is added to the _Settings definition, beneath the Connections element. Its attributes are then set appropriately for the Vertica datasource.
The Vertica Parameters element, a child of the connection element, can be used to supply additional parameters for connecting to the Vertica database.
Attributes
The Connection.Vertica element attributes are:
Special Drivers Required: Vertica 8.1
Vertica driver files can be found in the "driver folder":<yourLogiAppFolder>\rdTemplate\rdDriver\Vertica\v8.1.x
- To use Vertica with Logi Info Studio, copy Vertica.Data.dll from the driver folder to
- C:\Program Files\LogiXML IES Dev\LogiStudio\bin
- For a .NET-based Logi application - Copy the file Vertica.Data.dll from the driver folder to <yourLogiAppFolder>\bin.
For a Java-based Logi application - Copy the file vertica-jdbc-8.1.1-0.jar from the driver folder to <yourLogiAppFolder>\WEB-INF\lib.
Vertica 8.1 drivers are backwards compatible to Vertica server version 7.1.
Special Drivers Required: Vertica 7.2.3
Vertica driver files can be found in the "driver folder": <yourLogiAppFolder>\rdTemplate\rdDriver\Vertica.
- To use Vertica with Logi Info Studio, copy Vertica.Data.dll from the driver folder to
- C:\Program Files\LogiXML IES Dev\LogiStudio\bin
- For a .NET-based Logi application - Copy the file Vertica.Data.dll from the driver folder to <yourLogiAppFolder>\bin.
For a Java-based Logi application - Copy the file vertica-jdbc-7.2.3-0.jar from the driver folder to <yourLogiAppFolder>\WEB-INF\lib.
Vertica 7.2 drivers are not backwards compatible with earlier versions.
Special Drivers Required: Vertica Versions Prior to 7.2.3
For a .NET Logi application, you will need to download the Vertica ADO.NET driver and place it in the <yourLogiApp>\bin folder. The driver is available from the My Vertica community web site, which requires you to register and login. Version 6.1.3.0 or later is required.
For a Java Logi application, you will also to download the Vertica JDBC driver and place it in the <yourLogiApp>/WEB-INF/lib folder. The driver is available from the My Vertica community web site, which requires you to register and login. Version 6.1.3.0 or later is required.
In either case, if you want to be able to use Logi Studio's Database Browser and SQL Query Builder tools while working with Vertica, you must download the Vertica ADO.NET driver mentioned above and place it in the bin folder of your Logi Info installation, typically C:\Program Files\LogiXML IES Dev\Logi Studio\bin.
If use of the Vertica ADO.NET driver is not possible, you can use a Studio Connection element to provide a separate connection for use by Studio's tools:
The Studio Connection element has no attributes and is simply a parent element for another non-Vertica Connection element, as shown above. That connection element is used by Studio's tools, such as the Database Browser, Web Metadata Builder, etc., during development instead of the primary connection that's used by the Logi Engine to access data at runtime.