Jorge Bini
New Member
Hi!
I'm using jDRC2 and I want to transfer data from Mariadb Bigint ID columns.
When I use B4xserialize library in DBRequestManager
it generates an error: java.lang.RuntimeException: java.io.EOFException.
I know that if I use INT instead BIGINT works fine but I need the bigint type.
Thank you!
I'm using jDRC2 and I want to transfer data from Mariadb Bigint ID columns.
When I use B4xserialize library in DBRequestManager
it generates an error: java.lang.RuntimeException: java.io.EOFException.
I know that if I use INT instead BIGINT works fine but I need the bigint type.
Thank you!
B4X:
Public Sub HandleJobAsync(Job As HttpJob, EventName As String)
Dim ser As B4XSerializator
Dim data() As Byte = Bit.InputStreamToBytes(Job.GetInputStream)
ser.ConvertBytesToObjectAsync(data, "ser")
'Here generates the error
Wait For (ser) ser_BytesToObject (Success As Boolean, NewObject As Object)
If Success = False Then
Log("Error reading response: " & LastException)
Return
End If
Dim res As DBResult = NewObject
res.Tag = Job.Tag
CallSubDelayed2(mTarget, EventName & "_result", res)
End Sub