Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » @postload problem : never called (@postload problem: never called)
@postload problem : never called [message #650517] Tue, 25 January 2011 06:56 Go to previous message
jean marie turc is currently offline jean marie turc
Messages: 6
Registered: January 2011
Junior Member
hi all,

I have a problem with the annotation @postload: it is never called. !!
(I use the last official version of eclipselink and the problem already exist in the version before)

So I use @EntityListeners instead , and I implement "DescriptorEventListener" as:
public class LocationListener implements DescriptorEventListener {
	
	public void postBuild(DescriptorEvent arg0) {
		Location l = (Location) arg0.getSource();
		try {
			Tools.convertLocation(l);
		} catch (Exception e) {
			l.setName("Error " + e.getMessage());
		}
	}


But , sometime, the postBuild is not called too.
So it is a real problem.
Any idea ?
Thanks

 
Read Message
Read Message
Read Message
Previous Topic:Beginner setup problems
Next Topic:Correlated ReportQuery using wrong alias in start with clause
Goto Forum:
  


Current Time: Thu May 23 17:38:45 EDT 2013

Powered by FUDForum. Page generated in 0.01656 seconds