What I'm doing wrong to get the following exception ?
java.sql.SQLException: No suitable driver found for http://jdbc:jtds:SQLServer://10.29.1.82:1433;DatabaseName=KPI;IntegratedSecurity=False;Username=MySQLUsername;Password=MySQLPassword
Keeping in mind the code worked for another test application
java.sql.SQLException: No suitable driver found for http://jdbc:jtds:SQLServer://10.29.1.82:1433;DatabaseName=KPI;IntegratedSecurity=False;Username=MySQLUsername;Password=MySQLPassword
B4A part:
Public Sub ConnectDB
Driver="net.sourceforge.jtds.jdbc.Driver"
Dim SIP ,SPort As String
SIP="10.29.1.82"
SPort="1433"
Username=MyUsername
Password=MyPassword
URL="http://jdbc:jtds:SQLServer://" & SIP &":" & SPort & ";DatabaseName=KPI;IntegratedSecurity=False;Username="& Username & ";Password=" & Password
Log (Driver)
MySQL.Initialize2(Driver, URL,Username,Password)
Log ("Initialization : " & MySQL.IsInitialized)
End Sub
Additional Jar:
#AdditionalJar :JdbcSQL.jar
#AdditionalJar :jtds-1.3.1.jar