Skip to content

DB Config Files

  • Read files, Ensure Parsing of files (Capital Letters vs.)

  • for each Connection, distinct config file --> to secure error handling --> wrong config / mistakes

  • MariaDB, MYSQL... config file

  • property files in resource folder

  • baeldung java properties

  • validation of properties if IP e.g. valid, path file, driver convention

  • configDir: to set cfg files -->alternative: set other folder/path for testing environment

Properties:

  • Example.: app_properties, app_en_properties, app_de_properties -->User Interfaces for languages
  • Here: One property file for each connection
Edited by Behringer Kristin