candlepin/candlepin — pull request #622 by cakofony (2014-06-30 19:52:28+00:00)
Title: Don't force one-to-ones on the child side to be loaded eagerly

Hibernate should be able to tell that it already has the object
loaded (the parent). I'm not sure why this doesn't apply
when we run the query.

To verify, list available subscriptions on this branch as well as master. Listing consumers is also much faster.