|
Re: @postload problem : never called [message #650728 is a reply to message #650517] |
Wed, 26 January 2011 10:02 |
jean marie turc Messages: 6 Registered: January 2011 |
Junior Member |
|
|
About why sometime the postBuild is not called , I find this :
when the expiry time is passed, (so the cache is expired) , eclipse link does not call the postBuild of the entityListener.
Here is the object ;
Entity
@Table(catalog = "sdcarbrp", schema = "dbo", name = "v_car_list_location")
@EntityListeners( { LocationListener.class })
@Cache(type = CacheType.FULL, expiry = 3600000, shared = true)
public class Location implements Serializable, Comparable<Location> {
.....
So, in this example, after 1 hour, the postBuild methode will not be call by the listener.
I think it is a bug of eclipse link.
About why eclipselink never call the @postLoad : no idea for tjhe moment.
[Updated on: Wed, 26 January 2011 10:05] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02902 seconds