Hi,
I've got several application that use a Sybase Datasource, and for now each DataSource uses its own JDBCDriver (because the address and the port of the Sybase Instance are in the Driver Config ):
DataSource1
<database-name>NAME</database-name>
<jdbc-driver-name>SybaseDriver1</jdbc-driver-name>
SybaseDriver1
<implementation-class>com.sybase.jdbc2.jdbc.SybDriver</implementation-class>
<url-prefix>jdbc:sybase:Tds:host
ort</url-prefix>
I would like to use only one Sybase JDBC Driver for all the different DataSources, by moving the hostname and the port in the DataSource Config...
I tried something like that, but it doesn't work:
DataSource1
<database-name>host
ort/NAME</database-name>
<jdbc-driver-name>SybaseDriver</jdbc-driver-name>
SybaseDriver
<implementation-class>com.sybase.jdbc2.jdbc.SybDriver</implementation-class>
<url-prefix>jdbc:sybase:Tds:</url-prefix>
Does anybody have an idea?
Do you know if what I want to do is possible or not?
Thanks a lot,
Ludovic