Announcement Announcement Module
Collapse
No announcement yet.
jpa:repositories througth @Configuration - how do it right? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • jpa:repositories througth @Configuration - how do it right?

    Hello.
    How to setup
    <jpa:repositories base-package=""/>
    using @Configuration classes, and not the XML configuration files.
    Of course, it is possible to @ImportResource always, but how do it just inside java config class?

  • #2
    Hello

    I am assuming you want remove XML and work around with Java only

    Check the API for these annotations



    HTH

    Comment


    • #3
      I have similar issue, trying to use Java Configuration instead of <mongo:repositories .../>.

      Then I found this JIRA ticket: https://jira.springsource.org/browse/DATACMNS-47

      Unfortunately this is minor priority. Let's vote it up

      Comment

      Working...
      X