...
Configuration in
...
repository.cfg
Code Block | ||
---|---|---|
| ||
<repoName>.protocolservice.type=database <repoName>.protocolservice.database.driver= <repoName>.protocolservice.database.url= <repoName>.protocolservice.database.user= <repoName>.protocolservice.database.password= #<repoName>.protocolservice.database.read-connections.max= #default: 32 #<repoName>.protocolservice.database.read-connections.min= #default: 32 #<repoName>.protocolservice.database.read-connections.shared= #default: false #<repoName>.protocolservice.database.write-connections.max= #default: 32 #<repoName>.protocolservice.database.write-connections.min= #default: 32 #<repoName>.protocolservice.database.cache-statements= #default: false #<repoName>.protocolservice.database.cache-statements.size= #default: 50 |
protocol
H2
Code Block | ||
---|---|---|
| ||
<repoName>.protocolservice.database.driver=org.h2.Driver <repoName>.protocolservice.database.url=jdbc:h2:C:/h2db.db;FILE_LOCK=FS;TRACE_LEVEL_SYSTEM_OUT=0 |
...
Code Block |
---|
<repoName>.protocolservice.database.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver <repoName>.protocolservice.database.url=jdbc:sqlserver://localhost:1433;databaseName=CONTENTSERVER; |
Tables:
PROTOCOL
Expand | ||
---|---|---|
| ||
CREATE TABLE [dbo].[PROTOCOL]( |
PROTKEY_VALUES
Expand | ||
---|---|---|
| ||
CREATE TABLE [dbo].[PROTKEY_VALUES]( ALTER TABLE [dbo].[PROTKEY_VALUES] ADD DEFAULT ((0)) FOR [FIELDBOOLVALUE] ALTER TABLE [dbo].[PROTKEY_VALUES] WITH CHECK ADD CONSTRAINT [PROTKEY_VALUESRECORDID] FOREIGN KEY([RECORDID]) ALTER TABLE [dbo].[PROTKEY_VALUES] CHECK CONSTRAINT [PROTKEY_VALUESRECORDID] |
Example Queries (based on MSSQL)
Read