Questions Tagged With entity-managerhttps://answers.axonivy.com/tags/entity-manager/?type=rssquestions tagged <span class="tag">entity-manager</span>enWed, 24 Aug 2016 16:31:53 -0400nvarchar(max)https://answers.axonivy.com/questions/1988/nvarchar-max<p>Hi All,</p> <p>What is the recommendation for having column like nvarchar(max) ? what should I put in the Length value in the designer when creating Entities nvarchar(max) ? 2147483647 maybe ?</p> <p>Best Regards, Yordan</p>Stelt0Wed, 24 Aug 2016 16:31:53 -0400https://answers.axonivy.com/questions/1988/nvarchar-maxhibernateentity-managerpersistenceWhy does Axon.ivy issue a lot of warning message of "Entity manager will be closed now."https://answers.axonivy.com/questions/1416/why-does-axon-ivy-issue-a-lot-of-warning-message-of-entity-manager-will-be-closed-now<p>Ever since we upgrade into Axon.ivy 5.1.x, there are a lot of WARN in the log files:</p> <pre><code>16:47:08 WARN [runtimelog.alag_bpmp.alag_integration.persistence] [pool-2-thread-302] [requestId=171088, request=, executionContext=SYSTEM] Open entity manager 'org.hibernate.ejb.EntityManagerImpl@3442bb05' detected. Entity manager will be closed now. </code></pre> <p>Could you explain under what circumstance Axon.ivy write this WARN message? What does it mean?</p> <p>P.S: In our project, we use JPA <code>EntityManager</code> to maintain transaction by obtaining it from <code>IIvyEntityManager</code>.</p> <p>Thanks</p>Genzer HawkerWed, 29 Jul 2015 04:11:44 -0400https://answers.axonivy.com/questions/1416/why-does-axon-ivy-issue-a-lot-of-warning-message-of-entity-manager-will-be-closed-nowloggingentity-manager