title: Closing EntityManager after each db operation when using HikariCP
body: <p>I am using EntityManager along with HikariCP for database operations. Should I need to close the entity manager after each operation?
  Only one database operation is there per request</p>
  <pre><code>@Autowired
  @PersisitentContext(unitname=&quot;datasource2&quot;)
  private EntityManager entityManager
  
  function() {
  
  entityManager.createQuery(......);
  
  entityManage.close(); // Is this required???
  
  
  
  }
  </code></pre>