Re: [android-developers] exception while accessing MS SQL 2005 express using JDBC

2011-02-12 Thread Kostya Vasilyev
Looks like the driver wants to use an SSL socket in non-blocking mode, and Android networking code (taken from Apache Harmony) doesn't support it. You could try setting encrypt=false, or, if that's not acceptable, find another way to access the database (e.g. a web service). -- Kostya

[android-developers] exception while accessing MS SQL 2005 express using JDBC

2011-02-11 Thread Niket
Hi, I downloaded JDBC driver from microsoft.com (sqljdbc_3.0.1301.101_enu.exe), and use sqljdbc4.jar file in my code, to connect with MS SQL 2005 Express. I wrote very simple code. It provides exception while doing getConnection(). String driver=