ResponseError. Reason: java.io.IOException: unexpected end of stream on okhttp3.Address@aed07cd8, Response:
Greetings all,
Am getting the above error:
Additional jar entry:
AdditionalJar: jtds-1.3.1.jar
config.properties entry:
DriverClass=net.sourceforge.jtds.jdbc.Driver
JdbcUrl=jdbc:jtds:sqlserver://192.168.8.1xx/pdata
User=con
Password=con123
ServerPort=1433
Sub routine:
Sub GetRecord ()
Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("selectbranches", Null)
Wait For (req.ExecuteQuery(cmd, 0, Null)) JobDone(j As HttpJob)
Log(j.Success)
If j.Success Then
req.HandleJobAsync(j, "req")
Wait For (req) req_Result(res As DBResult)
'work with result
req.PrintTable(res)
Else
Log("ERROR: " & j.ErrorMessage)
End If
j.Release
End Sub
Any suggestions.
Greetings all,
Am getting the above error:
Additional jar entry:
AdditionalJar: jtds-1.3.1.jar
config.properties entry:
DriverClass=net.sourceforge.jtds.jdbc.Driver
JdbcUrl=jdbc:jtds:sqlserver://192.168.8.1xx/pdata
User=con
Password=con123
ServerPort=1433
Sub routine:
Sub GetRecord ()
Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("selectbranches", Null)
Wait For (req.ExecuteQuery(cmd, 0, Null)) JobDone(j As HttpJob)
Log(j.Success)
If j.Success Then
req.HandleJobAsync(j, "req")
Wait For (req) req_Result(res As DBResult)
'work with result
req.PrintTable(res)
Else
Log("ERROR: " & j.ErrorMessage)
End If
j.Release
End Sub
Any suggestions.
Last edited: