Examples of supportsSequences()


Examples of liquibase.database.Database.supportsSequences()

            return;
        }
        if (foundObject instanceof Schema) {
            Schema schema = (Schema) foundObject;
            Database database = snapshot.getDatabase();
            if (!database.supportsSequences()) {
                updateListeners("Sequences not supported for " + database.toString() + " ...");
            }

            //noinspection unchecked
            List<Map<String, ?>> sequenceNames = ExecutorService.getInstance().getExecutor(database).queryForList(new RawSqlStatement(getSelectSequenceSql(schema, database)));
View Full Code Here

Examples of liquibase.database.Database.supportsSequences()

    }

    @Override
    protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException {
        Database database = snapshot.getDatabase();
        if (!database.supportsSequences()) {
            return null;
        }

        List<Map<String, ?>> sequences = ExecutorService.getInstance().getExecutor(database).queryForList(new RawSqlStatement(getSelectSequenceSql(example.getSchema(), database)));
        for (Map<String, ?> sequenceRow : sequences) {
View Full Code Here

Examples of org.hibernate.ogm.dialect.GridDialect.supportsSequences()

  }

  private IdSourceKeyAndKeyMetadataProvider getDelegate(Dialect dialect) {
    GridDialect gridDialect = super.getGridDialect();

    if ( gridDialect.supportsSequences() ) {
      return new SequenceKeyAndMetadataProvider( generatorKeyMetadata );
    }
    else {
      log.dialectDoesNotSupportSequences( gridDialect.getClass().getName() );
View Full Code Here

Examples of org.hibernate.ogm.dialect.spi.GridDialect.supportsSequences()

  }

  private IdSourceKeyAndKeyMetadataProvider getDelegate(Dialect dialect) {
    GridDialect gridDialect = super.getGridDialect();

    if ( gridDialect.supportsSequences() ) {
      return new SequenceKeyAndMetadataProvider( generatorKeyMetadata );
    }
    else {
      log.dialectDoesNotSupportSequences( gridDialect.getClass().getName() );
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.