package com.dmnlk.doma;

import org.seasar.doma.jdbc.Config;
import org.seasar.doma.jdbc.dialect.Dialect;
import org.seasar.doma.jdbc.dialect.PostgresDialect;

import javax.sql.DataSource;

/**
 * @author dmnlk
 */
public class AppConfig implements Config {
    @Override
    public DataSource getDataSource() {
        return null;
    }

    @Override
    public Dialect getDialect() {
        return new PostgresDialect();
    }

    private AppConfig() {
    }
}

@@ -251,16 +251,51 @@
 onfig %7B%0A
+    private final Dialect dialect;%0A
     @Ove
@@ -435,29 +435,15 @@
 urn 
-new PostgresD
+d
 ialect
-()
 ;%0A  
@@ -469,20 +469,61 @@
 pConfig() %7B%0A
+        dialect = new PostgresDialect();%0A
     %7D%0A%7D%0A

move constractor