Hi,
I am a newbie in Hibernate and I am trying to develop my first application.
In Eclipse 6.01 I am generating, with reverse engineering tools, the java classes for an MS Sql Server database tables.
The question is How can I, using these Eclipse tools, define the collection type generated for one-to many relationships. Eclipse is generating Set but I would like to generate List.
Besides that Eclipse is generating something like this:
private Set fund = new HashSet(0);
But the compiler wants this:
private Set fund = new HashSet<Object>(0);
I have a very large model and I cannot fix one by one this problems. Is there a way to ask for Eclipse to generate automatically the second statement ???
Maybe this is too simple but I could not find in the wizard pages a solution.
Can you help me
Thanks in advance