Announcement Announcement Module
Collapse
No announcement yet.
Repository error with Roo and Neo4j Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Repository error with Roo and Neo4j

    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:

    Code:
    @NodeEntity
    @RooToString
    @RooJavaBean
    public class Merchant {   
        
        
        @Indexed
        private String username;
    
        private String name;
    
        private String address_number;
    
        private String address_street;
    
    ...etc...
    And here is my repository code:
    Code:
    public interface MerchantRepository extends GraphRepository<Merchant>{}
    Unfortunately the generic type definition is throwing the following error in my IDE:
    Code:
    Type argument <package>.Merchant is not within the bounds of type-variable T
    Obviously <package> is the full package name.

    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.
Working...
X