Class UUIDHexGenerator

    • Constructor Detail

      • UUIDHexGenerator

        public UUIDHexGenerator()
    • Method Detail

      • generate

        public Object generate​(SharedSessionContractImplementor session,
                               Object obj)
        Description copied from interface: IdentifierGenerator
        Generate a new identifier.
        Parameters:
        session - The session from which the request originates
        obj - the entity or collection (idbag) for which the id is being generated
        Returns:
        a new identifier
      • format

        protected String format​(int intValue)
      • format

        protected String format​(short shortValue)