LPS-46658 get the long pks of associated entities for performance improvements
LPS-46658 build-services to regenerate persistence
LPS-46658 add methods to service layer
LPS-46658 build-services
LPS-46658 improve performance by fetching the longs instead of the entities