• All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class SQL_DATE_STRUCT
    extends Struct
    implements NativeResource


     struct SQL_DATE_STRUCT {
         SQLSMALLINT year;
         SQLUSMALLINT month;
         SQLUSMALLINT day;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • YEAR, MONTH, DAY

        The struct member offsets.
    • Constructor Detail


        public SQL_DATE_STRUCT​(java.nio.ByteBuffer container)
        Creates a SQL_DATE_STRUCT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.