JSF DataWindow attributes that support connecting to a database are connectString, jndiDataSource, and onLoadHandler.
Use jndiDataSource with a ConnectionCache defined in EAServer or Tomcat. In JSF DataWindows, only JDBC ConnectionCache is supported. ODBC/Native database driver caches are not supported.
Database driver | JNDI connection cache support | ConnectString support | OnLoadHandler support | Database support |
---|---|---|---|---|
JDBC | Yes | Yes | Yes | ASE, ASA, SQLServer, Oracle, and others with JDBC support |
ODBC | No | Yes | Yes | ASE, ASA, SQLServer, Oracle,and others with JDBC support |
Native drivers | No | Yes | Yes | ASE
Note:
For Oracle native, use onLoadHandler. |
Use these formats.
Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com
Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.