Class SqlCommand


  • public class SqlCommand
    extends java.lang.Object
    Data Modification Language inspection support.
    Author:
    Jeremy Whiting jwhiting@redhat.com, Christopher Deckers (chrriis@gmail.com)
    • Method Detail

      • isBatchedReWriteCompatible

        public boolean isBatchedReWriteCompatible()
      • getBatchRewriteValuesBraceOpenPosition

        public int getBatchRewriteValuesBraceOpenPosition()
      • getBatchRewriteValuesBraceClosePosition

        public int getBatchRewriteValuesBraceClosePosition()
      • isReturningKeywordPresent

        public boolean isReturningKeywordPresent()
      • returnsRows

        public boolean returnsRows()
      • createStatementTypeInfo

        public static SqlCommand createStatementTypeInfo​(SqlCommandType type,
                                                         boolean isBatchedReWritePropertyConfigured,
                                                         int valuesBraceOpenPosition,
                                                         int valuesBraceClosePosition,
                                                         boolean isRETURNINGkeywordPresent,
                                                         int priorQueryCount)
      • createStatementTypeInfo

        public static SqlCommand createStatementTypeInfo​(SqlCommandType type,
                                                         boolean isRETURNINGkeywordPresent)