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
jdbc-driver-name: SybaseDriver1
SybaseDriver1
implementation-class: com.sybase.jdbc2.jdbc.SybDriver
Url-prefix: jdbc:sybase:Tds:hostnameort
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: hostnameort/NAME
jdbc-driver-name: SybaseDriver
SybaseDriver
implementation-class: com.sybase.jdbc2.jdbc.SybDriver
Url-prefix: jdbc:sybase:Tds:
Does anybody have an idea?
Do you know if what I want to do is possible or not?
Thanks a lot,
Ludovic
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
jdbc-driver-name: SybaseDriver1
SybaseDriver1
implementation-class: com.sybase.jdbc2.jdbc.SybDriver
Url-prefix: jdbc:sybase:Tds:hostnameort
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: hostnameort/NAME
jdbc-driver-name: SybaseDriver
SybaseDriver
implementation-class: com.sybase.jdbc2.jdbc.SybDriver
Url-prefix: jdbc:sybase:Tds:
Does anybody have an idea?
Do you know if what I want to do is possible or not?
Thanks a lot,
Ludovic