-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add connection mode functionality to KnowledgeStore to allow multiple
access Implement connection modes to allow persistent or on-demand database connections when using the KnowledgeStore. Introduce the `ConnectionMode` enum to define the two modes and modify the `StoreBuilder` structure to allow setting a connection mode during store creation. The `KnowledgeStoreImpl` is updated to handle both connection modes, establishing a database connection only when necessary for on-demand mode, while maintaining a persistent connection if specified.
- Loading branch information
Christian Stolz
committed
Oct 15, 2024
1 parent
619eaa9
commit 6642bfc
Showing
5 changed files
with
73 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters