Maven « Connection « JPA Q&A





1. Why datasource is not found in JNDI after injection from jndi.properties?    stackoverflow.com

This is my persistence.xml:

<persistence>
  <persistence-unit name="MyUnit">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>jdbc/abcDS</jta-data-source>
  </persistence-unit>
</persistence>
This is jndi.properties file from src/test/resources which is supposed to create a datasource during testing, ...

2. Maven Connection Refused    forum.hibernate.org

hi, thanks for the heads up; I'll send a note to the administrators of that Nexus instance. I'm also wondering, is your CI server re-downloading all artifacts every night? that's not how it's supposed to work, and the poor maven servers couldn't handle the load if everybody was doing this way. To guarantee stable builds of your project people usually setup ...