I am trying this 2 commands on Roo console (playing around with 1.1.0M1)
field set --fieldName iterations --element ~domain.Iteration
I understood that the first will generate a @ManyToMany set and the second one should create a @OneToMany (as per the last part of http://static.springsource.org/sprin...x.html#d4e1365). But for both I'm getting this:
field set --fieldName iterations --element ~domain.Iteration --cardinality
Is this something that changed on 1.1.0M1? How can I force a OneToMany to be generated?
@ManyToMany(cascade = CascadeType.ALL)
private Set<com.pm.domain.Iteration> iterations = new java.util.HashSet<com.pm.domain.Iteration>();