All Downloads are FREE. Search and download functionalities are using the official Maven repository.

au.net.causal.maven.plugins.boxdb.db.MySqlFactory Maven / Gradle / Ivy

There is a newer version: 3.3
Show newest version
package au.net.causal.maven.plugins.boxdb.db;

public class MySqlFactory extends BaseMySqlFactory
{
    public MySqlFactory()
    {
        super("mysql");
    }

    @Override
    protected void initializeDefaults(BoxConfiguration boxConfiguration)
    {
        if (boxConfiguration.getDatabaseVersion() == null)
            boxConfiguration.setDatabaseVersion("5.7");

        super.initializeDefaults(boxConfiguration);
    }

    @Override
    protected MySqlDatabase createDockerDatabase(BoxConfiguration boxConfiguration, ProjectConfiguration projectConfiguration, BoxContext context)
    throws BoxDatabaseException
    {
        return new MySqlDatabase(boxConfiguration, projectConfiguration, context);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy