Class DbConfig

java.lang.Object
de.chojo.sqlutil.datasource.DbConfig

public class DbConfig extends Object
Class which provides basic data for a database
  • Constructor Details

    • DbConfig

      public DbConfig(@Nullable @Nullable String address, @Nullable @Nullable String port, @Nullable @Nullable String user, @Nullable @Nullable String password, @Nullable @Nullable String database)
      Create a new DbConfiguration.

      Values which are null will be ignored

      Parameters:
      address - address
      port - port
      user - user
      password - password
      database - database
  • Method Details

    • apply

      public void apply(Properties properties)
      Apply the settings to a property
      Parameters:
      properties - properties to apply the settings on