This discussion is archived
0 Replies Latest reply: Oct 30, 2013 1:13 PM by amehta5 RSS

Descriptor After Load method in EclipseLink

amehta5 Newbie
Currently Being Moderated

We are in the process of migrating from TopLink10 to EclipseLink.2.4.2


In TopLink10 workbench we used the After Load Descriptor methods to amend the descriptors to add some queries to the descriptor.

In EclipseLink workbench the same method errors out with the following error message –

   0372 - The method specified on the descriptor after loading policy is not a valid after load method.  It must be static and have one ClassDescriptor parameter.


The method being used is a static method and has a ClassDescriptor parameter

  public static void modifyCustomerDescriptor(ClassDescriptor descriptor)


Has anyone seen this sort of a problem?

Thanks for the help.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points