title: Spring Data JPA & MyBatis
body: <p>I am trying to use Spring Data JPA with MyBatis. Since there isnt a Vendor Adapter for MyBatis, what is the alternative here?</p>
  
  <pre><code>&lt;bean id="entityManagerFactory"
      class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"&gt;
      &lt;property name="dataSource" ref="dataSource" /&gt;
      &lt;property name="packagesToScan" value="com.abc.xyz.domain"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>I am getting the below exception when I tried to initialize my application.</p>
  
  <pre><code>Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No PersistenceProvider specified in EntityManagerFactory configuration, and chosen PersistenceUnitInfo does not specify a provider class name either
  </code></pre>
  
  <p>Thanks</p>