Interface PersistentIdentifierGenerator

    • Method Detail

      • sqlCreateStrings

        @Deprecated
        String[] sqlCreateStrings​(Dialect dialect)
                           throws HibernateException
        Deprecated.
        Utilize the ExportableProducer contract instead
        The SQL required to create the underlying database objects.
        Parameters:
        dialect - The dialect against which to generate the create command(s)
        Returns:
        The create command(s)
        Throws:
        HibernateException - problem creating the create command(s)
      • sqlDropStrings

        @Deprecated
        String[] sqlDropStrings​(Dialect dialect)
                         throws HibernateException
        Deprecated.
        Utilize the ExportableProducer contract instead
        The SQL required to remove the underlying database objects.
        Parameters:
        dialect - The dialect against which to generate the drop command(s)
        Returns:
        The drop command(s)
        Throws:
        HibernateException - problem creating the drop command(s)
      • generatorKey

        Object generatorKey()
        Return a key unique to the underlying database objects. Prevents us from trying to create/remove them multiple times.
        Returns:
        Object an identifying key for this generator