JDBC driver properties  Database type setting

Chapter 4: Database Access

Client-Library connection settings

You can set the following properties for Client-Library connections. See the Client-Library documentation for the ct_con_props routine for more information:

This example sets all of these properties:

CS_HOSTNAME=myhostname
CS_TDS_VERSION=CS_TDS_46
CS_PACKETSIZE=512
CS_APPNAME=myapp

Any property name not recognized by EAServer is ignored.

The CS_TDS_VERSION property takes one of these values: CS_TDS_50, CS_TDS_495, CS_TDS_46, CS_TDS_42, or CS_TDS_40.

The CS_PACKETSIZE property takes a numeric value within the range of legal packet sizes for the server. If the server does not support the packet size, the cache cannot connect to the server.

NoteMake sure there is no extra white space between the property name, the equal sign, and the property value, or after the property value.





Copyright © 2005. Sybase Inc. All rights reserved. Database type setting

View this book as PDF