Examples of dataDefinitionIgnoredInTransactions()


Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

        DatabaseMetaData dmd = getDMD();
       
        assertTrue(dmd.allProceduresAreCallable());
        assertTrue(dmd.allTablesAreSelectable());
        assertFalse(dmd.dataDefinitionCausesTransactionCommit());
        assertFalse(dmd.dataDefinitionIgnoredInTransactions());
       
        // Derby does not yet implement scroll sensitive resultsets, so can't
        //   see changes for those; all *AreDetected and *AreVisible methods
        //   return false.
        // For Forward Only ResultSets, also see lang.UpdatableResultSetTest
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

        DatabaseMetaData dmd = getDMD();
       
        assertTrue(dmd.allProceduresAreCallable());
        assertTrue(dmd.allTablesAreSelectable());
        assertFalse(dmd.dataDefinitionCausesTransactionCommit());
        assertFalse(dmd.dataDefinitionIgnoredInTransactions());
       
        // Derby does not yet implement scroll sensitive resultsets, so can't
        //   see changes for those; all *AreDetected and *AreVisible methods
        //   return false.
        // For Forward Only ResultSets, also see lang.UpdatableResultSetTest
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

        DatabaseMetaData dmd = getDMD();
       
        assertTrue(dmd.allProceduresAreCallable());
        assertTrue(dmd.allTablesAreSelectable());
        assertFalse(dmd.dataDefinitionCausesTransactionCommit());
        assertFalse(dmd.dataDefinitionIgnoredInTransactions());
       
        // Derby does not yet implement scroll sensitive resultsets, so can't
        //   see changes for those; all *AreDetected and *AreVisible methods
        //   return false.
        // For Forward Only ResultSets, also see lang.UpdatableResultSetTest
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

      System.out.println("supportsDataManipulationTransactionsOnly(): " +
                 met.supportsDataManipulationTransactionsOnly());
      System.out.println("dataDefinitionCausesTransactionCommit(): " +
                 met.dataDefinitionCausesTransactionCommit());
      System.out.println("dataDefinitionIgnoredInTransactions(): " +
                 met.dataDefinitionIgnoredInTransactions());

      System.out.println("getConnection(): "+
             ((met.getConnection()==con)?"same connection":"different connection") );
      System.out.println("getProcedureColumns():");
      dumpRS(met.getProcedureColumns(null, "%", "GETPCTEST%", "%"));
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

      System.out.println("supportsDataManipulationTransactionsOnly(): " +
                 met.supportsDataManipulationTransactionsOnly());
      System.out.println("dataDefinitionCausesTransactionCommit(): " +
                 met.dataDefinitionCausesTransactionCommit());
      System.out.println("dataDefinitionIgnoredInTransactions(): " +
                 met.dataDefinitionIgnoredInTransactions());

      System.out.println("Test the metadata calls related to visibility of changes made by others for different resultset types");
      System.out.println("Since Derby materializes a forward only ResultSet incrementally, it is possible to see changes");
      System.out.println("made by others and hence following 3 metadata calls will return true for forward only ResultSets.");
      System.out.println("othersUpdatesAreVisible(ResultSet.TYPE_FORWARD_ONLY)? " + met.othersUpdatesAreVisible(ResultSet.TYPE_FORWARD_ONLY));
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

          dialect = DialectFactory.buildDialect( props, conn );
          jdbcSupport = JdbcSupportLoader.loadJdbcSupport( conn );
          metaSupportsScrollable = meta.supportsResultSetType( ResultSet.TYPE_SCROLL_INSENSITIVE );
          metaSupportsBatchUpdates = meta.supportsBatchUpdates();
          metaReportsDDLCausesTxnCommit = meta.dataDefinitionCausesTransactionCommit();
          metaReportsDDLInTxnSupported = !meta.dataDefinitionIgnoredInTransactions();
          metaSupportsGetGeneratedKeys = meta.supportsGetGeneratedKeys();
        }
        catch ( SQLException sqle ) {
          log.warn( "Could not obtain connection metadata", sqle );
        }
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

          }

          metaSupportsScrollable = meta.supportsResultSetType( ResultSet.TYPE_SCROLL_INSENSITIVE );
          metaSupportsBatchUpdates = meta.supportsBatchUpdates();
          metaReportsDDLCausesTxnCommit = meta.dataDefinitionCausesTransactionCommit();
          metaReportsDDLInTxnSupported = !meta.dataDefinitionIgnoredInTransactions();
          metaSupportsGetGeneratedKeys = meta.supportsGetGeneratedKeys();
          extraKeywordsString = meta.getSQLKeywords();
          sqlStateType = meta.getSQLStateType();
          lobLocatorUpdateCopy = meta.locatorsUpdateCopy();
          typeInfoSet.addAll( TypeInfoExtracter.extractTypeInfo( meta ) );
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

          log.info("JDBC driver: " + meta.getDriverName() + ", version: " + meta.getDriverVersion() );

          metaSupportsScrollable = meta.supportsResultSetType(ResultSet.TYPE_SCROLL_INSENSITIVE);
          metaSupportsBatchUpdates = meta.supportsBatchUpdates();
          metaReportsDDLCausesTxnCommit = meta.dataDefinitionCausesTransactionCommit();
          metaReportsDDLInTxnSupported = !meta.dataDefinitionIgnoredInTransactions();

          if ( Environment.jvmSupportsGetGeneratedKeys() ) {
            try {
              Boolean result = (Boolean) DatabaseMetaData.class.getMethod("supportsGetGeneratedKeys", null)
                .invoke(meta, null);
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

          metaSupportsRefCursors = StandardRefCursorSupport.supportsRefCursors( meta );
          metaSupportsNamedParams = meta.supportsNamedParameters();
          metaSupportsScrollable = meta.supportsResultSetType( ResultSet.TYPE_SCROLL_INSENSITIVE );
          metaSupportsBatchUpdates = meta.supportsBatchUpdates();
          metaReportsDDLCausesTxnCommit = meta.dataDefinitionCausesTransactionCommit();
          metaReportsDDLInTxnSupported = !meta.dataDefinitionIgnoredInTransactions();
          metaSupportsGetGeneratedKeys = meta.supportsGetGeneratedKeys();
          extraKeywordsString = meta.getSQLKeywords();
          sqlStateType = meta.getSQLStateType();
          lobLocatorUpdateCopy = meta.locatorsUpdateCopy();
          typeInfoSet.addAll( TypeInfo.extractTypeInfo( meta ) );
View Full Code Here

Examples of java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions()

      System.out.println("supportsDataManipulationTransactionsOnly(): " +
                 met.supportsDataManipulationTransactionsOnly());
      System.out.println("dataDefinitionCausesTransactionCommit(): " +
                 met.dataDefinitionCausesTransactionCommit());
      System.out.println("dataDefinitionIgnoredInTransactions(): " +
                 met.dataDefinitionIgnoredInTransactions());

      System.out.println("getConnection(): "+
             ((met.getConnection()==con)?"same connection":"different connection") );
      System.out.println("getProcedureColumns():");
      dumpRS(GET_PROCEDURE_COLUMNS, getMetaDataRS(met, GET_PROCEDURE_COLUMNS,
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.