Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6798972

Adding java.util.UUID as JDBC type

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 7
    • core-libs
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      Adding UUID as JDBC Type

      JUSTIFICATION :
      Some databases doesn't support binary types as keys (primary key, indexes, unique keys). Another databases doesn't support fixed length binary type (like PostgreSQL). They support only bytea type which is BLOB.
      In the same time those database have UUID or similar data type (PostgreSQL offer UUID which is equivalent to java.util.UUID).
      Most of the new applications prefer to use UUID (binary 16) as primary key instead to use int and long for their global unique identifiers.
      It will be very useful of such type is supported in JDBC.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: