Hi, Im i have oracle database 10g, and му goal is to build sources of java POJO classes via hbm2java. I'm trying to do it via revers enginering from database - to POJO. The pojo classes, has been correctly built , but by default the ralationship manytomany and onetomany are maped as: java.util.Set<?> for example:
private Set<Document> documentsForMotherId = new HashSet<Document>(0);
,but i need it to be mapped as java.util.Collection<?>: @ManyToMany(mappedBy = "personCollection1") private Collection<Document> documentCollection1;
and without initial initialisation Is there possibility to adjast hibernate.reveng.xml to make such generation of POJO sources ?
|