Package sk.iway.iwcm.system.adminlog
Class SpringDataHelper
java.lang.Object
sk.iway.iwcm.system.adminlog.SpringDataHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSpringDataEntity
(Object entity, Long id) Fetches the real entity from the database by iterating through all available EntityManagers.
-
Constructor Details
-
SpringDataHelper
public SpringDataHelper()
-
-
Method Details
-
getSpringDataEntity
Fetches the real entity from the database by iterating through all available EntityManagers.- Parameters:
entity
- The entity class to fetch.id
- The ID of the entity.- Returns:
- The real entity from the database, or null if not found.
-