Examples of PostgreSQLDialect


Examples of com.thinkgem.jeesite.common.persistence.dialect.db.PostgreSQLDialect

        }else if("mysql".equals(dbType)){
          dialect = new MySQLDialect();
        }else if("oracle".equals(dbType)){
          dialect = new OracleDialect();
        }else if("postgre".equals(dbType)){
          dialect = new PostgreSQLDialect();
        }else if("mssql".equals(dbType) || "sqlserver".equals(dbType)){
          dialect = new SQLServer2005Dialect();
        }else if("sybase".equals(dbType)){
          dialect = new SybaseDialect();
        }
View Full Code Here

Examples of fi.evident.dalesbred.dialects.PostgreSQLDialect

        }

        @Nullable
        @Override
        protected Dialect dialect() {
            return new PostgreSQLDialect();
        }
View Full Code Here

Examples of org.apache.marmotta.kiwi.persistence.pgsql.PostgreSQLDialect

                if ("h2".equalsIgnoreCase(dbType)) {
                    dialect = new H2Dialect();
                } else if ("mysql".equalsIgnoreCase(dbType)) {
                    dialect = new MySQLDialect();
                } else if ("postgres".equalsIgnoreCase(dbType)) {
                    dialect = new PostgreSQLDialect();
                }
            }

            // database url
            if (cmd.hasOption('d')) {
View Full Code Here

Examples of org.apache.marmotta.kiwi.persistence.pgsql.PostgreSQLDialect

            if (dbCon.startsWith("jdbc:h2:")) {
                return new H2Dialect();
            } else if (dbCon.startsWith("jdbc:mysql:")) {
                return new MySQLDialect();
            } else if (dbCon.startsWith("jdbc:postgresql:")) {
                return new PostgreSQLDialect();
            } else {
                throw new ParseException("could not guess dialect from url, use the -D option");
            }
        } else if ("h2".equalsIgnoreCase(dbDialect)) {
            return new H2Dialect();
        } else if ("mysql".equalsIgnoreCase(dbDialect)) {
            return new MySQLDialect();
        } else if ("postgresql".equalsIgnoreCase(dbDialect)) {
            return new PostgreSQLDialect();
        } else {
            throw new ParseException("Unknown dialect: " + dbDialect);
        }
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.persistence.pgsql.PostgreSQLDialect

        if("H2".equals(database)) {
            this.dialect = new H2Dialect();
        } else if("MySQL".equals(database)) {
            this.dialect = new MySQLDialect();
        } else if("PostgreSQL".equals(database)) {
            this.dialect = new PostgreSQLDialect();
        }
       
        DBConnectionChecker.checkDatabaseAvailability(jdbcUrl, jdbcUser, jdbcPass, dialect);
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.persistence.pgsql.PostgreSQLDialect

        if("H2".equals(database)) {
            this.dialect = new H2Dialect();
        } else if("MySQL".equals(database)) {
            this.dialect = new MySQLDialect();
        } else if("PostgreSQL".equals(database)) {
            this.dialect = new PostgreSQLDialect();
        }
       
        DBConnectionChecker.checkDatabaseAvailability(jdbcUrl, jdbcUser, jdbcPass, dialect);
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.persistence.pgsql.PostgreSQLDialect

    }

    private void createRunners() throws InitializationError {
        List<KiWiConfiguration> configs = new ArrayList<>();
        createKiWiConfig("H2", new H2Dialect(), configs);
        createKiWiConfig("PostgreSQL", new PostgreSQLDialect(), configs);
        createKiWiConfig("MySQL", new MySQLDialect(), configs);

        for (KiWiConfiguration config : configs) {
            final DatabaseTestClassRunner runner = new DatabaseTestClassRunner(getTestClass().getJavaClass(), config);
            runners.add(runner);
View Full Code Here

Examples of org.apache.marmotta.kiwi.persistence.pgsql.PostgreSQLDialect

    private Repository repository;


    public ProfileLoading(String jdbcUrl, String user, String password) throws RepositoryException {
        this(new KiWiConfiguration("profiling",jdbcUrl,user,password, new PostgreSQLDialect()));
    }
View Full Code Here

Examples of org.apache.marmotta.kiwi.persistence.pgsql.PostgreSQLDialect

            if("h2".equalsIgnoreCase(database)) {
                dialect = new H2Dialect();
            } else if("mysql".equalsIgnoreCase(database)) {
                dialect = new MySQLDialect();
            } else if("postgres".equalsIgnoreCase(database)) {
                dialect = new PostgreSQLDialect();
            } else
                throw new IllegalStateException("database type "+database+" currently not supported!");
            String jdbcUrl = configurationService.getStringConfiguration("database.url");
            String dbUser  = configurationService.getStringConfiguration("database.user");
            String dbPass  = configurationService.getStringConfiguration("database.password");
View Full Code Here

Examples of org.apache.marmotta.kiwi.persistence.pgsql.PostgreSQLDialect

        if("H2".equals(database)) {
            this.dialect = new H2Dialect();
        } else if("MySQL".equals(database)) {
            this.dialect = new MySQLDialect();
        } else if("PostgreSQL".equals(database)) {
            this.dialect = new PostgreSQLDialect();
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.