Hi, I've got 3 persistence units in my persistence.xml with each having close to a thousand entities defined (actually same set of entities defined repeatedly in 3 PUs). When I first call on EntityManager.getCriteriaBuilder(), it takes such a long time that our application times out - the first call takes around 6 minutes. Is there any way to speed things up? I'm using OpenJPA 2.4.3 release on an IBM WAS9 (OpenJDK1.8).
My persistence.xml has these properties... <property name="openjpa.MetaDataRepository" value="Preload=true"/> <property name="openjpa.Multithreaded" value="true"/> Thanks, Joseph DISCLAIMER: This email and any files transmitted with it are confidential, subject to legal privilege, or otherwise protected from disclosure, and intended solely for the use of the individual or entity addressed. If you have received this email in error please delete and destroy all copies in your possession and notify the sender. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the SILVERLAKEAXIS. The recipient should check this email and any attachments for the presence of viruses. SILVERLAKEAXIS accepts no liability for any damage caused by any virus transmitted by this email.