Update bstore-j model management and SQL support
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user