- Jun 6, 2020
- 11,559
- 4,422
I have set up JDRC2 with a B4XPages program 'TestJDRC' to try and get it going on my own PC per Erel's video tutorial. In the tutorial, he already had a database on his pc which he connected to. I have not created a database on the pc.
As you can see from the B4J log, JDRC2 is starting and appears to have accepted my first 'command' from the B4A program to create a table so I know the connection is working. The JDRC2 program is crashing on some kind of timeout which at this point I think is that it can't find a database.
The documentation booklet 'B4XSqlliteDatabaseV1' does show a B4J example of initializing/creating a sqllite database but the JDRC2 program does not have an 'init' in it.
I was, therefore, hoping that if the DB doesn't exist, the JDRC2 handler would create it as the sql1.initialize does in b4a, but that may not be the case.
The following questions/answers would help me to get going:
1. I would like to confirm that the timeout is probably caused by the lack of...
As you can see from the B4J log, JDRC2 is starting and appears to have accepted my first 'command' from the B4A program to create a table so I know the connection is working. The JDRC2 program is crashing on some kind of timeout which at this point I think is that it can't find a database.
The documentation booklet 'B4XSqlliteDatabaseV1' does show a B4J example of initializing/creating a sqllite database but the JDRC2 program does not have an 'init' in it.
I was, therefore, hoping that if the DB doesn't exist, the JDRC2 handler would create it as the sql1.initialize does in b4a, but that may not be the case.
The following questions/answers would help me to get going:
1. I would like to confirm that the timeout is probably caused by the lack of...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید