10.02.2013 Views

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6: Driver Connection Properties <strong>and</strong> Data Types by Database Br<strong>and</strong><br />

In this example:<br />

...server1:2003;InformixServer=TestServer;DatabaseName=TestServer...<br />

is the part of the connection URL that specifies connection information for the primary<br />

server. Alternate servers are specified using the AlternateServers property, in this<br />

example:<br />

...;AlternateServers=(server2:2003;InformixServer=TestServer2,server3:2003)<br />

You can specify the optional connection properties DatabaseName or InformixServer for<br />

each alternate server entry. For example:<br />

jdbc:progress:informix://server1:2003;InformixServer=TestServer;<br />

DatabaseName=TestServer;<br />

AlternateServers=(server2:2003;InformixServer=TestServer2;<br />

DatabaseName=TestServer,server3:2003)<br />

If you do not specify an optional connection property in an alternate server entry, the<br />

connection to that alternate server uses the property specified in the URL for the primary<br />

server. For example, if you specify InformixServer=TestServer <strong>and</strong><br />

DatabaseName=TestServer for the primary server, but do not specify the InformixServer<br />

<strong>and</strong> DatabaseName properties in the alternate server entry as shown in the following URL,<br />

the driver uses the InformixServer <strong>and</strong> DatabaseName specified for the primary server <strong>and</strong><br />

tries to connect to the TestServer database on the Informix server TestServer:<br />

jdbc:progress:informix://server1:2003;InformixServer=TestServer;<br />

DatabaseName=TestServer;AlternateServers=(server2:2003,server3:2003)<br />

Informix Driver Data Types<br />

Table 13 lists the data types supported by the Informix driver <strong>and</strong> describes how they are<br />

mapped to JDBC data types.<br />

Table 13. Informix Data Types<br />

Informix Data Type JDBC Data Type<br />

blob BLOB<br />

boolean BIT<br />

byte LONGVARBINARY<br />

173 <strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Management</strong> <strong>Guide</strong> 8.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!