D _dp_ New Member Mar 22, 2021 #1 I cant connect with JdbcSQL example to Postgresql db. There is modification I made: Public pg As JdbcSQL Private driver As String = "org.postgresql.Driver" Private jdbcUrl As String = "jdbcostgresql://10.100.100.96/test_18" Private Username As String = "xxx" Private Password As String = "xxx" #AdditionalJar: postgresql-42.2.19.jre7 and program hangs on authorisation phase 2021-03-22 01:06:26.109 PDT [4676] LOG: connection received: host=10.100.100.96 port=59437
I cant connect with JdbcSQL example to Postgresql db. There is modification I made: Public pg As JdbcSQL Private driver As String = "org.postgresql.Driver" Private jdbcUrl As String = "jdbcostgresql://10.100.100.96/test_18" Private Username As String = "xxx" Private Password As String = "xxx" #AdditionalJar: postgresql-42.2.19.jre7 and program hangs on authorisation phase 2021-03-22 01:06:26.109 PDT [4676] LOG: connection received: host=10.100.100.96 port=59437
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2021 #2 Please use [code]code here...[/code] tags when posting code. Making a remote connection from a mobile device to a database is a mistake. It will be unreliable and insecure. Use jRDC2 instead. If you insist on using JdbcSQL then make sure to only use the async methods. Upvote 0
Please use [code]code here...[/code] tags when posting code. Making a remote connection from a mobile device to a database is a mistake. It will be unreliable and insecure. Use jRDC2 instead. If you insist on using JdbcSQL then make sure to only use the async methods.
D _dp_ New Member Mar 22, 2021 #3 Im trying to port our WMS applicaton written in Sencha. App works in intranet so there is no security problems ... We need Androdid app and my problem is that I cant connect on Postgresql server, program just hungs while trying to logon. Upvote 0
Im trying to port our WMS applicaton written in Sencha. App works in intranet so there is no security problems ... We need Androdid app and my problem is that I cant connect on Postgresql server, program just hungs while trying to logon.
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2021 #4 As I wrote, if you insist on making direct connections you must use the async methods (InitializeAsync in this case). Believe me that jRDC2 will work much better. Upvote 0
As I wrote, if you insist on making direct connections you must use the async methods (InitializeAsync in this case). Believe me that jRDC2 will work much better.