K
K
kidar22015-10-21 06:28:30
JDBC
kidar2, 2015-10-21 06:28:30

Is it possible to work with several versions of the same jdbc driver at the same time?

The task is to be able to connect to sqlserver 2000 and sqlserver 2005.
Judging by https://msdn.microsoft.com/en-ca/data/ff928484 , you need to use different versions of the jdbc driver 3.0 and 4.0 for this.
Can this be done within the same application? Have two connections to different servers using different driver versions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Maksimov, 2015-10-21
@kidar2

You can try to load drivers through different (separate) ClassLoader (URLClassLoader).
You can use different configurations for hibernate.
It's in theory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question