jpa query with multiple tables, dynamic input alteryx multiple files