Hello
as for B4A the initialize statement includes the possibility to create an empty database if the named database file is not found.
I did not find the same in the statement to be used for B4J.
I need to kow if there is a way in B4J to c r e a t e a database file by code as it it is possible in B4A or in another way.
B4J snipped would be nice.
Thankyou
as for B4A the initialize statement includes the possibility to create an empty database if the named database file is not found.
create and open SQLite database:
sql.initializeSQLite(file.dirApp,Filename,true)
open cipher db:
SQL.Initialize("org.sqlite.JDBC","jdbc:sqlite:file:data.db?cipher=sqlcipher&legacy=1&kdf_iter=4000&key=YOURKEY")
I need to kow if there is a way in B4J to c r e a t e a database file by code as it it is possible in B4A or in another way.
B4J snipped would be nice.
Thankyou
Last edited: