Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
databasereferencecheatsheet [2025/04/21 15:21] amyw [Microsoft SQL Server] |
databasereferencecheatsheet [2025/04/22 15:19] (current) wikiadmin [SQLite] |
||
---|---|---|---|
Line 75: | Line 75: | ||
SQLite is a file based database, so the format of the URL will not include the " | SQLite is a file based database, so the format of the URL will not include the " | ||
- | get the latest JDBC driver: https://www.sqlite.org/download.html (the driver is included in the distribution, | + | get the latest JDBC driver |
+ | https://sourceforge.net/ | ||
**Database Driver Class**: org.sqlite.JDBC | **Database Driver Class**: org.sqlite.JDBC | ||
**Database URL**: < | **Database URL**: < | ||
+ | |||
+ | Example: jdbc: | ||
+ | |||
+ | This will create a file called testdb.sqlite in the directory where the application is running. When testing in MIStudio this will be the MIStudio main directory. If you are testing in TransSECS (Builder) this file will appear in the TransSECS/ | ||
Note: usually add .sqlite to the file name for SQLite databases, so for example, db_name.sqlite | Note: usually add .sqlite to the file name for SQLite databases, so for example, db_name.sqlite | ||
Line 85: | Line 90: | ||
====SQL Server Express==== | ====SQL Server Express==== | ||
- | The JDBC driver that is compatible | + | The JDBC driver that is compatible |
- | [[https:// | + | [[https:// |
JDBC needs to be a Jar in the “drivers” directory of the project. | JDBC needs to be a Jar in the “drivers” directory of the project. |