small project to demonstrate a bug in hibernate when joining an associated on a Join which has been down-casted with JPA 2.1 treat