Class UUIDGenerator

    • Field Detail

      • UUID_GEN_STRATEGY

        public static final java.lang.String UUID_GEN_STRATEGY
        See Also:
        Constant Field Values
      • UUID_GEN_STRATEGY_CLASS

        public static final java.lang.String UUID_GEN_STRATEGY_CLASS
        See Also:
        Constant Field Values
    • Constructor Detail

      • UUIDGenerator

        public UUIDGenerator()
    • Method Detail

      • buildSessionFactoryUniqueIdentifierGenerator

        public static UUIDGenerator buildSessionFactoryUniqueIdentifierGenerator()
      • configure

        public void configure​(Type type,
                              java.util.Properties params,
                              ServiceRegistry serviceRegistry)
                       throws MappingException
        Description copied from interface: Configurable
        Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.
        Specified by:
        configure in interface Configurable
        Parameters:
        type - The id property type descriptor
        params - param values, keyed by parameter name
        serviceRegistry - Access to service that may be needed.
        Throws:
        MappingException