The best approach I could come up with so far is to either only store the ID of the objects I want to use and, whenever I need to get/set one of their properties, I start a transaction and look for the entry by ID, or that I create yet another class to wrap calls to my exposed class with transactions…
This feels like it’s much more cumbersome than the right way to do it, but I fail to see it 😞