Class SqlCode


  • public class SqlCode
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlCode​(int code)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()
      Return the SQL code represented by this instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • code_

        private int code_
      • queuedXAError

        public static final SqlCode queuedXAError
      • disconnectError

        static final SqlCode disconnectError
      • END_OF_DATA

        public static final SqlCode END_OF_DATA
        SQL code for SQL state 02000 (end of data). DRDA does not specify the SQL code for this SQL state, but Derby uses 100.
    • Constructor Detail

      • SqlCode

        SqlCode​(int code)
    • Method Detail

      • getCode

        public final int getCode()
        Return the SQL code represented by this instance.
        Returns:
        an SQL code