title: How to mention persistenceUnitName when packagesToScan property
body: <p>I have two datasources and two entityManagerFactory instance. I was trying to use the new feature of 3.1 (Bootstrapping JPA entityManagerFactory without persistence.xml by  using packagesToScan property).</p>
  
  <p>In order to use the right entity manager factory instance, i have to distinguish using Persistence unit name and defining the PU name in persistence.xml is stopping the spring package scanning feature.</p>
  
  <p>How to give the PU name while using packagesToScan feature?</p>
  
  <p>My question is more duplicate of <a href="https://stackoverflow.com/questions/12854913/is-there-a-way-to-give-persistenceunitname-for-springs-localcontainerentitymana">Is there a way to give persistenceUnitName for Spring&#39;s LocalContainerEntityManagerFactoryBean without persistence.xml?</a></p>
  
  <p>I couldn't find the answer or comment on the above post. So reposting as new question.</p>