Update bstore-j model management and SQL support

This commit is contained in:
Amer Agovic
2026-06-12 16:31:40 -05:00
parent 5e5510be50
commit 60c046cd80
9 changed files with 639 additions and 12 deletions
+19 -2
View File
@@ -146,11 +146,28 @@ The central types in this area are:
## Databases
The Java implementation is SQL-oriented today. The project currently includes
dependencies and test coverage around:
The Java implementation is SQL-oriented today. The project includes JDBC drivers for:
- PostgreSQL
- H2
- Microsoft SQL Server (`mssql-jdbc`), used by Farnam Control 4.0 and similar apps.
Path-style URLs use `SQLTerminal`, for example:
```text
sqlserver://user:password@host:1433/databaseName
```
Optional semicolon properties after the database segment are forwarded into the JDBC URL (for example `encrypt=true`).
### Integration tests against SQL Server
Tests that need a live database read **`FC4_SQL_URL` first**, then **`DB_URL`** (historic convention). Example:
```bash
export FC4_SQL_URL='sqlserver://user:pass@host:1433/mydb'
./gradlew test --tests com.reliancy.dbo.sql.SQLTerminalSqlServerSmokeTest
```
The broader API is designed so application code can stay closer to entities and
actions than to vendor-specific SQL strings.