lakshman kumaran wrote:could you please tell me currently which driver have loaded in class loader?
Both. As Matthew said, the connection String determines which driver is used. A connection String that starts with
jdbc.oracle.thin:// will cause the Oracle driver to be used. A connection String that starts with
jdbc:microsoft:sqlserver:// will cause the older SQL Server driver to be used. A connection String that starts with
jdbc:sqlserver:// will cause the newer SQL Server driver to be used. A connection String that starts with
jdbc:mysql:// will cause the MySQL driver to be used. Etc, etc, etc.