Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I store config settings in database?

config database settings store
0
Posted

How can I store config settings in database?

0

A. Config settings can be stored in XML file, database, or other datasources. You just need to create a sub class of DefaultAgentConfig.java and implement all the abstract methods. We provide a reference implementation of storing config settings in dababase at DbConfig.java. Config settings are stored in 8 tables: properties, trapsink, snmpv3trapsink, proxy, trapproxy, user, v3group, view. The column names are the same as the ones in the XML config file. The data types of all those columns are varchar for simplicity considerations.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123