fullTextQuery.setProjection("id", "summary", "author.name");
List<Object> result = (List<Object>) fullTextQuery.list();
I have a problem working with projections. consider the following scenario,
Parent(Long id, Set<Child> children)
Child(EmbeddedId(Long id, Integer versionNo), Parent parent)
Now, I have indexed Parent and Child is contained in it. When I tried to apply projections on Child columns, I am not able to get the values. It works fine for associations and collections with a single primary key, fails only for the composite key cases. Please comment on the same.
Due to copy write issues, I cannot share the log, or the code.