Hello, I am using the following code to connect to an Oracle database from B4A but I have not been able to do so.
any idea of the problem?
Thanks in advance
B4X:
#AdditionalJar: ojdbc8.jar
B4X:
Dim DBLocation ="xxx.xxx.xx.xxx" As String
Dim DBUsername ="vamos" As String
Dim DBPassword ="Jlg10644263" As String
sql.InitializeAsync("Oracle", "oracle.jdbc.driver.OracleDriver", $"jdbc:oracle:thin:@${DBLocation}:1521:xe"$, DBUsername, DBPassword)
B4X:
Sub Oracle_Ready (Success As Boolean)
If Success Then
Log("Ok")
End If
End Sub
any idea of the problem?
Thanks in advance