Spring jpa join multiple tables example. In the example below, Foo can have only o.