Class FakeObjectProvider


  • public class FakeObjectProvider
    extends Object
    Creates map of an empty objects for id generation for all entities that could be restored during space restore
    Since:
    8.1.0
    • Method Detail

      • getFakeObjectForIdGeneration

        public Object getFakeObjectForIdGeneration​(Class<?> entityClass)
        Provides fake object required for Hibernate to use the proper id generator
        Parameters:
        entityClass - Class whose id we need to generate
        Returns:
        fake object required for Hibernate to use the proper id generator