A lightweight application configuration management method based on JDBC
CN122308954APending Publication Date: 2026-06-30FUJIAN FUJITSU COMM SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FUJIAN FUJITSU COMM SOFTWARE CO LTD
- Filing Date
- 2026-03-16
- Publication Date
- 2026-06-30
Smart Images

Figure CN122308954A_ABST
Abstract
This invention discloses a lightweight application configuration management method based on JDBC. It initializes a configuration table in a relational database, storing configuration class identifiers, configuration item keys, configuration item values, and environment variables. Upon application startup, it queries a set of configuration information based on environment variables using JDBC. The set is then traversed, and the configuration item keys are converted to target attribute names using string splitting and camelCase algorithms to obtain read / write methods and attribute types. Configuration item values are dynamically injected into configuration class instances via reflection. During runtime, a scheduled task periodically detects database configuration changes, identifies changed items, and temporarily stores them in a thread-safe map. Hot configuration updates are then achieved again via reflection. This invention eliminates the need for a separate configuration center service, achieving multi-environment isolation, automatic encryption / decryption, and dynamic hot updates. It offers advantages such as lightweight design, database independence, low learning curve, and flexible deployment.
Need to check novelty before this filing date? Find Prior Art