I am relatively new to spring, roo and Neo4j and I'm having some problems.
Basically I'm trying to create a Repository for a model, my model is as follows:
And here is my repository code:Code:@NodeEntity @RooToString @RooJavaBean public class Merchant { @Indexed private String username; private String name; private String address_number; private String address_street; ...etc...
Unfortunately the generic type definition is throwing the following error in my IDE:Code:public interface MerchantRepository extends GraphRepository<Merchant>{}
Obviously <package> is the full package name.Code:Type argument <package>.Merchant is not within the bounds of type-variable T
It would be great if someone could shed some light on what is causing this issue, I have been looking over the documentation and examples on github and can't see any significant differences so I'm kind of stumped.
Cheers, Tim.


Reply With Quote