7291 : Auto generation of field from Hibernate is wrong type

I have a number of Hibernate mapping files, all linked to classes and tables. Junit tests work find so there appear to be complete.
I added a new relationship to one of the mapping files, a and "projects" is hi-lighted as being missing - ok so I "Alt-Enter" and generate field in class but the field that is generated is a List. I would have expected it to generate a Set]]>.

1 comment
Comment actions Permalink

It's already fixed.
Will be available in the next EAP.

Thank you,
Gregory Shrago

Paul wrote:

I have a number of Hibernate mapping files, all linked to classes and
tables. Junit tests work find so there appear to be complete. I added
a new relationship to one of the mapping files, a <set
name="projects" ....> and "projects" is hi-lighted as being missing -
ok so I "Alt-Enter" and generate field in class but the field that is
generated is a List<xxx>. I would have expected it to generate a
Set<xxx>.

0

Please sign in to leave a comment.