adding criteria join query one to many