B4A Library JdbcSQL - Directly connect to remote databases - Erel    
Sep 17, 2017   
(35 reactions)   
tags: Conector SQL, RemoteDB, remote db, jDBCSQL, sql connect local remoteThis is a port of B4J jSQL library.
The SQL type was renamed to JdbcSQL and ResultSet was renamed to JdbcResultSet, this allows using it together with the SQL library.
SQL library - local SQLite databases.
JdbcSQL - Any remote SQL database with a supported JDBC driver. MySQL and MS SQL....
As explained in the jSQL tutorial, you need to copy the jdbc jar to the additional libraries folder... updating the app.
- Server and client performance issues - The Jdbc drivers are not optimized for...
B4J Tutorial ✅ JDBCSQL Connector/J - Connect directly to MySQL, MSSQL, PostgreSQL, MariaDB and Oracle databases - Peter Simpson    
Mar 13, 2020   
(29 reactions)   
tags: JDBC.
Disclaimer:
This code with some minor changes may also work in B4A. MySQL and MSSQL connectors definitely do work in B4A but I'm not sure about the PostgreSQL, MariaDB and Oracle connectors. Please check...
link:
can you please share your northwind db, perhaps its the most up to date.
Hello @Mashiane, please l...
link:
Hi Peter,
can you please share your northwind db, perhaps its the most up to date.
Thanks.
I'...
link: Hi Peter,
can you please share your northwind db, perhaps its the most up to date.
Thanks....
B4A Question How to connect to MSSQL with JdbcSQL - catyinwong    
Jul 23, 2018Not quite understand what changes should be made if I want to connect to a MSSQL
#AdditionalJar: jtds-1.3.1
Public mysql As JdbcSQL
Private driver As String = "com.mysql.jdbc.Driver" <- what to change??
Private jdbcUrl As String = "jdbc:mssql://192.168.0.6/test"
Private Username As String = "username"
Private Password As String = "password"...
B4A Question JdbcSQL app works in debug but not in release - atiaust    
Jul 28, 2021Hi All,
My B4A app uses JdbcSQL to talk to a MySQL database on my local RPI server and performs... **
main$ResumableSub_Activity_Createresume (java line: 401)
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not...
link: is that you should switch to SQL.InitializeAsync as you don't want to do any network stuff...
link: Thanks Erel,
This has allowed me to run the app in release mode.
For my education, what causes thi...
link: Try this: Workaround the NetworkOnMainThread exception
Maybe this is the real error and it is caug...
B4A Question Unknown problem while using ExecNonQueryBatch, JdbcSQL [Solved] - Anser    
Aug 24, 2023 possible errors ?
I am using JdbcSQL to connect to remote MySQL database
Here is the code I used to do... As String
Private mysql As JdbcSQL
End Sub
Sub Upload_Click
Dim Batch As List
Batch...
link:
The connection may be already broken.
I think better make a new connection and close after using it...
link: The connection may be already broken.
I think better make a new connection and close after using it ...
link: the previous initialization.
In the same activity, before calling this routine, I am connecting to MySQL...
B4A Question jdbcSQL - Unable to connect to MySQL Server ver 8.0.30 - Anser    
Sep 21, 2022Hi,
As said in the title, I am using jdbcSQL to connect to a MySQL server ver 8.0.30
I understand... a different database, but residing on the same server. This app does not use jdbcSQl instead it uses...
link: running I uninstalled MySql server ver 8 and went back to MySQL server ver 5. I am sure...
link:
I am using jdbcsql with a mysql 5.1.43 server in an B4A app with no problems. I already...
link: I am using jdbcsql with a mysql 5.1.43 server in an B4A app with no problems. I already...
B4A Question jdbcSQL connection to mysql debug mode works correctly but release mode doesn't work - mostosoft    
Apr 19, 2019 Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Button1_Click
Dim sql As JdbcSQL
Dim jsql As JdbcResultSet
sql.Initialize2("com.mysql.jdbc.Driver", "jdbc:mysql://sql2.freesqldatabase.com:3306/databasename","user","password")
jsql=sql.ExecQuery("select ragsoc from aappuntamento ")
Do While jsql.NextRow
Log(jsql.GetString... mode it doesn't work?
what's the error?
com.mysql.jdbc.exceptions.jdbc4...
B4A Question [Solved] JdbcSQL and SQL Server - makis_best    
Oct 23, 2018   
(2 reactions)Hi
I read allot inside the forum about how to connect jdbcSQL with Sql server but I can't understand it.
All info are split in several post confusing very much specially newbies like me.
There are no complete tutorial - example saying from start to end how to do it?
Thank you....
link: May I suggest you to start a new thread? Eventually sporting a link to the current one, if you find that your problem is related.
Thi...
link: mode.
The Online Database is MSSqlServer using JdbcSQL and the local database on the device is SQLlite...
B4A Question JdbcSQL - Insert error - fasilosman    
Aug 17, 2021Hi all,
I used sample code to connect JdbcSQL from the link JdbcSQL forum link
The ExecQueryAsync...)
End Try
CloseConnection
End If
Return Success
End Sub
java.sql.SQLException: Could...
link: -system-variable-tx-read-only
Which database are you using and which Jdbc driver?
Thank you for the lead...
link: database are you using and which Jdbc driver?...
link: ("mysql", driver, jdbcUrl, Username, Password)
Wait For MySQL_Ready (Success As Boolean...
B4A Question CLOSED / SOLVED JdbcSQL - A little help please - Robert Valentino    
Oct 4, 2020My first time at trying to connect to a MySQL database and I am trying this example: https://www.b4x.com/android/forum/threads/jdbcsql-directly-connect-to-remote-databases.84016/
And I keep getting...
link: Thank you,
In my mind, you have come a long way toward saving world poverty and maybe suffering.
S...
link: why!
this is due to every other case when you connect to SQL server I can think of - from...
link:
But with jdbc, you ONLY are to enter the server name without the SQL instance, and the instance...
Page: 1  
2  
3  
4  
5