Interface HibernateBundle.ScanPackageBuilder<T extends io.dropwizard.Configuration>

    • Method Detail

      • withEntityScanPackage

        HibernateBundle.FinalBuilder<T> withEntityScanPackage​(@NotNull
                                                              @NotNull java.lang.String packageToScanForEntities)
        Parameters:
        packageToScanForEntities - The package that should be scanned for entities recursively.
        Returns:
        the same builder instance
      • withEntityScanPackageClass

        HibernateBundle.FinalBuilder<T> withEntityScanPackageClass​(@NotNull
                                                                   @NotNull java.lang.Class<?> markerClass)
        Parameters:
        markerClass - A class or interface that defines the base package for recursive entity scanning. The class may be a marker interface or a specific entity class.
        Returns:
        the same builder instance
      • withEntityClasses

        HibernateBundle.FinalBuilder<T> withEntityClasses​(@NotNull
                                                          @NotNull java.lang.Class<?>... entityClasses)
        Parameters:
        entityClasses - The entity classes
        Returns:
        the same builder instance