B4J Library SQLite Enable Loading of Extensions - tchart    Oct 1, 2025   (8 reactions) library for your OS (eg DLL for Windows and SO for Linux)
How to use;
Dim SQL As SQL
SQL.InitializeSQLite(File.DirApp,"Test.sqlite",True)
Log(SQL.IsInitialized)
Dim e... SQLite.
EnableLoading(SQL) - enable loading of SQLite extensions
DisableLoading(SQL) - disable... B4J Tutorial Backup SQLite DB with VACUUM INTO - Chris2    Jan 8, 2023   (9 reactions) :\DBBackup\myDB-backup.db" 'backupPath must include the filename
Dim sql As SQL
sql.InitializeSQLite(filePath, fileName, False)
sql.ExecNonQuery2("VACUUM INTO ?", Array... shrunk to its minimum size.
Usage is pretty simple with the SQL library:
Dim filePath As String... B4A Tutorial [B4X][B4XPages] SQL + xCLV Example - Erel    Jun 23, 2021   (20 reactions) .DefaultFolder, dbname) #if B4J 'B4J SQL object can access many types of databases (same as B4A JdbcSQL). sql.InitializeSQLite(xui.DefaultFolder, dbname, False) #else sql.Initialize(xui.DefaultFolder, dbname, False) #End If Dim rs As ResultSet = sql.ExecQuery2($"SELECT...) B4XPages.SetTitle(Me, "SQL + xCLV Example") xui.SetDataFolder("sql example... B4J Tutorial [WebApp] Concurrent access to SQLite databases - Erel    Nov 21, 2021   (15 reactions) . B4J SQL library (when initialized with InitializeSQLite) will serialize writers access. - When... such as MySQL and others. However they can still be perfect for small / medium solutions, especially if... databases. You need to follow these instructions: - Use a single SQL object that is shared by all... set the journal mode to wal: sql.ExecQuerySingleResult("PRAGMA journal_mode = wal"....b4x.com/b4j/help/jsql.html#sql_begintransaction... B4J Question Application runs on OK on Debug but no SQLite Queries on Standalone - Setlodi (first post)    Apr 20, 2025 SQL.InitializeSQLite(File.DirApp, "SBA_Project.db", True)... B4J Question How do you use SQLite in B4J pages? - Erel (first post)    Feb 9, 2025   (2 reactions) The same code will work with B4J. You just need to call SQL.InitializeSQLite and add this line to main module:
#AdditionalJar: sqlite-jdbc-3.7.2
... B4J Question Standalone application with SQLite - danchovasilev    Dec 22, 2024 I made a small application that works with a SQLite database, but when I compile it, it gives me an error - it cannot find the path to the database using SQL.InitializeSQLite(File.DirApp, "dk6.db", True) please help... B4J Tutorial SQL Tutorial - Erel    Dec 8, 2013   (6 reactions) B4J jSQL library is similar to Basic4android SQL library. This tutorial will cover the differences.../android/forum/threads/sql-tutorial.6736/#content jSQL library is not tied to any specific SQL engine. jSQL wraps Java JDBC mechanism and allows you to access any type of SQL database. Including remote... to add the jar to the package. For example to connect to a MySQL database: #Region Project... sql1 As SQL End Sub Sub AppStart (Form1 As Form, Args() As String) MainForm = Form1 MainForm... B4A Library [B4X] [XUI] AS Scheduler 📅 - MonthView, DayView (Week), AgendaView and CalendarView [Payware] - MarcoRome (first post)    Dec 14, 2023
The SchedulerInternShared Modul is calling this:
#If B4J
SQL.InitializeSQLite(File.DirApp...
SQL.InitializeSQLite(File.DirApp,"scheduler.db",True)
Else
SQL.InitializeSQLite(File.DirTemp,"scheduler.db",True)
End If
#Else
SQL... B4J Question SQLite/SQLCipher create Database by code - Guenter Becker    Nov 12, 2025 Hello
as for B4A the initialize statement includes the possibility to create an empty database if the named database file is not found.
sql.initializeSQLite(file.dirApp,Filename,true)
I did not find the same in the statement to be used for B4J.
SQL.Initialize("org.sqlite.JDBC","jdbc... Page: 1   2   3   4   5   6   7   |