Configuration in repository.cfg
<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
H2
<repoName>.protocolservice.database.driver=org.h2.Driver <repoName>.protocolservice.database.url=jdbc:h2:C:/h2db.db;FILE_LOCK=FS;TRACE_LEVEL_SYSTEM_OUT=0
Oracle
<repoName>.protocolservice.database.driver=oracle.jdbc.OracleDriver <repoName>.protocolservice.database.url=jdbc:oracle:thin:@localhost:49161:xe
MSSQL
<repoName>.protocolservice.database.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver <repoName>.protocolservice.database.url=jdbc:sqlserver://localhost:1433;databaseName=CONTENTSERVER;
Tables:
PROTOCOL
PROTKEY_VALUES
Example Queries (based on MSSQL)
Read