You're right. I saw you're test "passing", but the 'child' entity is clearly being eagerly loaded. For the workaround to work you'll need to, in addition to the @OneToOne annotation, add @LazyToOne(LazyToOneOption.NO_PROXY)