Hello, I am using the following code to connect to an Oracle database from B4A but I have not been able to do so.
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
Hello, I am using the following code to connect to an Oracle database from B4A but I have not been able to do so.
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
Hello, I am using the following code to connect to an Oracle database from B4A but I have not been able to do so.
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
Thanks for the information. I did connect to the database via jRDC and it works perfectly. The idea is to make the connection in the same way as it was done with B4J