2 Replies Latest reply on Oct 8, 2012 12:43 PM by manoj.m.agarwal

    What is replacement of supportsBetweenCriteria() method in Teiid 8

    manoj.m.agarwal

      Hi,

       

      We are upgrading our application to Teiid 8.1.0 Final from Teiid 7.6.

       

      What is the replcement of these methods in Teiid 8 -

       

      1. public boolean supportsBetweenCriteria()
      2. public boolean supportsCaseExpressions()
      3. public boolean supportsInsertWithIterator()

       

      Moreover "org.teiid.language.IteratorValueSource" object is also not available in Teiid 8. Please suggest how to handle it.

       

       

      Thanks !

      Manoj

        • 1. Re: What is replacement of supportsBetweenCriteria() method in Teiid 8
          shawkins

          There is a release note about the removal of supportsBetweenCriteria and supportsCaseExpressions.  Those methods were simply not used.  There is also a release note about the supportsInsertWithIterator:

           

          "The translator API facilities for iterator/bulk updates were combined and updated.  Multi-valued literals were replaced by the Parameter class with an associated value iterator available on the BatchedCommand.  The IteratorValueSource class was also removed."

           

          So if you are coding for that scenario yourself then you would look for Parameters as the insert value expressions and associate them to the values from the BatchedCommand.getParameterValues iterator.  See JDBCUpdateExecution in the JDBC translator for example handling.

          • 2. Re: What is replacement of supportsBetweenCriteria() method in Teiid 8
            manoj.m.agarwal

            Thanks Steven !