Announcement Announcement Module
Collapse
No announcement yet.
Trying to extend the Spring Data JPA Examples Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RGFanta
    started a topic Trying to extend the Spring Data JPA Examples

    Trying to extend the Spring Data JPA Examples

    Hi,

    I'm trying to do something similar to what's in the Spring Data JPA examples in the SimpleUserRepositorySample.

    Whether I extend the spring-data-jpa-example project or add the config to main own project, my JUnit test shows that even core methods like findById are missing even after running maven (package and install) in Eclipse. I've combed the code and configuration thoroughly but can't see what I'm missing and where the proxy is really being generated.

    Suggestions would be most welcome, also:

    -How/when is the proxy generated?
    -How can I remove the osgi dependency? [Our domain project will be just one maven sub-project within a larger whole.]

    Much obliged.
    Last edited by RGFanta; Apr 7th, 2011, 12:21 PM.

  • Oliver Gierke
    replied
    Hi,

    the main proxy creation logic is in RepositoryFactorySupport.getRepository(…) and JpaRepositoryFactory. What do you mean with OSGi dependency?

    Cheers,
    Ollie

    Leave a comment:

Working...
X