Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Virtual Metlhods | questions

Hi Tom,
  In real application I have to make following call to make programtic
relationships creation on the fly to make the things work
JpaHelper.getEntityManagerFactory(<entityManager>).refreshMetadata(null);

What I found at the object building phase, the following statement always
results in the NULL for the newly creationed relationships
 oneToManyMapping.getSelectionQuery().getDescriptor()

Hence resulted in NPE.

 Please validate that
JpaHelper.getEntityManagerFactory(<entityManager>).refreshMetadata(null); is
OK.

 I found the above call resulted in the increase in deployment time (which i
also expected). Is there any other API I can use?? which can decrease my
deployment time.

~Gaurav Malhotra
-- 
View this message in context: http://old.nabble.com/Virtual-Metlhods-%7C-questions-tp34172077p34207159.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top