private void initDefaultEnvironments() {
Reflections reflections = new Reflections("dbfit");
for (Class<?> c: reflections.getTypesAnnotatedWith(DatabaseEnvironment.class)) {
DatabaseEnvironment envAnnotation =
c.getAnnotation(DatabaseEnvironment.class);
registerEnv(envAnnotation.name(), envAnnotation.driver());
}
}
private static DBEnvironment environment;