Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Requesting Attribute Change Tracking programmatically, without using annotations?

Hello everyone,

 

Is anyone aware of a way to programmatically specify that a given JPA mapped class in EclipseLink 1.0.1 is to use Attribute Change Tracking, without annotating the class with @ChangeTracking(ChangeTrackingType.ATTRIBUTE)?

 

What I was hoping to be able to do was to visit each of the ClassDescriptor instances bound into a ServerSession and through some call chain be able to specify that the Class requires Attribute Change Tracking, but I have been unable to find the method(s) necessary to do so from a ClassDescriptor instance. Inspecting the 1.0.1 source leads me to believe what I am  trying to do is not currently possible.

 

Thanks

 

Doug






The contents of this electronic mail message and any attachments are confidential, possibly privileged and intended
for the addressee(s) only. Only the addressee(s) may read, disseminate, retain or otherwise use this message. If
received in error, please immediately inform the sender and then delete this message without disclosing its contents
to anyone.

Back to the top