28 lines
838 B
Markdown
28 lines
838 B
Markdown
# Organization Database Configs
|
|
|
|
Each organization uses one SQL Server connection file named `{ORG_ID}.properties`.
|
|
Organization IDs are normalized to uppercase and may contain only letters, numbers,
|
|
underscores, and hyphens.
|
|
|
|
Example: `G3HD.properties`
|
|
|
|
```properties
|
|
url=jdbc:sqlserver://127.0.0.1:1433;databaseName=G3HD
|
|
username=sa
|
|
password=your-password
|
|
driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
```
|
|
|
|
The `*.properties` files in this directory are ignored by Git.
|
|
|
|
## Development startup for legacy SQL Server
|
|
|
|
Run the following command from the `fms-api` directory when connecting to a
|
|
legacy SQL Server that only supports TLS 1.0:
|
|
|
|
```batch
|
|
set JAVA_HOME=D:\devtool\jdk\jdk-21
|
|
set PATH=%JAVA_HOME%\bin;%PATH%
|
|
mvn "-Dspring-boot.run.jvmArguments=-Djava.security.properties=./config/legacy-tls.security" spring-boot:run
|
|
```
|