title: check EntityManagerFactory
body: <p>I use eclipselink as an implementation of JPA and I would like to know if it is possible to check if my EntityManagerFactory is "alive"</p>
  
  <p>for example, if the connection parameters are invalid, when I create the EMF I don't have any exception until I begin a transaction</p>
  
  <p>Thanks</p>