SQL Server 2005 JDBC Driver and Database Mirroring
We've heard from some customers that they are having difficulty getting Database Mirroring to work with our JDBC driver. Recently, Adam from our counterpart customer service team posted a great blog on this topic. Please refer to his blog regarding a couple of gotchas with the v1.2 driver.
https://blogs.msdn.com/psssql/archive/2008/12/31/sql-2005-jdbc-driver-and-database-mirroring.aspx
Jimmy Wu
SQL Server JDBC Team