{"comment":{"url":"https://api.github.com/repos/spring-projects/spring-data-jpa/comments/16530674","html_url":"https://github.com/spring-projects/spring-data-jpa/commit/a91a27ad00ec30ef93fdff6826390d789bc55b91#commitcomment-16530674","id":16530674,"user":{"login":"olivergierke","id":128577,"avatar_url":"https://avatars.githubusercontent.com/u/128577?v=3","gravatar_id":"","url":"https://api.github.com/users/olivergierke","html_url":"https://github.com/olivergierke","followers_url":"https://api.github.com/users/olivergierke/followers","following_url":"https://api.github.com/users/olivergierke/following{/other_user}","gists_url":"https://api.github.com/users/olivergierke/gists{/gist_id}","starred_url":"https://api.github.com/users/olivergierke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivergierke/subscriptions","organizations_url":"https://api.github.com/users/olivergierke/orgs","repos_url":"https://api.github.com/users/olivergierke/repos","events_url":"https://api.github.com/users/olivergierke/events{/privacy}","received_events_url":"https://api.github.com/users/olivergierke/received_events","type":"User","site_admin":false},"position":94,"line":127,"path":"src/main/java/org/springframework/data/jpa/util/BeanDefinitionUtils.java","commit_id":"a91a27ad00ec30ef93fdff6826390d789bc55b91","created_at":"2016-03-07T09:33:41Z","updated_at":"2016-03-07T09:33:41Z","body":"Good catch, thanks! I'll make this more lenient. In fact, you have to set `expectedType=\"….EntityManagerFactory\"` for all JNDI components that you'd like the Spring Data infrastructure to pick up. However, of course that shouldn't necessarily be required for any other JNDI components you declare."}}