Hi,
I started using the DBRE tools in Roo 1.1.0 RC1. So far everything looked great. Every entity was created just fine and controller scaffolding worked a treat.
However, when i run my application (inside STS 2.3.2 RELEASE) i get the following error.
Here are the Roo generated mappings in feServiceTypesCode:Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.sdp.fess.domain.FeService.feServiceTypes in com.sdp.fess.domain.FeServiceTypes.ajc$interField$com_sdp_fess_domain_FeServiceTypes_Roo_DbManaged$feServices
And here is the mapping in the feService ClassCode:privileged aspect FeServiceTypes_Roo_DbManaged { @OneToMany(mappedBy = "feServiceTypes") private Set<FeService> FeServiceTypes.feServices;
Everything looks okay to me, but i'm not sure why this error is being thrown.Code:privileged aspect FeService_Roo_DbManaged { @ManyToOne @JoinColumn(name = "Service_Type_Id", referencedColumnName = "Service_Type_Id") private FeServiceTypes FeService.feServiceTypes;
Any ideas??
Cheers


Reply With Quote
