In our project, we work with a domain model Document. A document may have several titles, so with my JPA knowledge I'd model the Document entity like so:
@Entity
public class Document {
private Set<String> titles;
// ... getters and setters
}
How can I have jHipster generate entities with collection attributes (or, synomymously, collection fields)?