Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » @MappedSuperClass with DynamicEntity
@MappedSuperClass with DynamicEntity [message #962052] Sun, 28 October 2012 16:53 Go to next message
Eclipse UserFriend
Is there way to create a dynamicEntity which inherits from MappedSuperclass using EclipseLink.

I tried
Class<?> catalogObjectClass = dcl.createDynamicClass("className",xyz.class);

where xyz.class is the name of the mappedsuperclass but couldn't get it to work as desired.
I got this error during persist

"In order to use ObjectChangeTrackingPolicy or AttributeChangeTrackingPolicy, class has to implement ChangeTracker interface."



Re: @MappedSuperClass with DynamicEntity [message #964750 is a reply to message #962052] Tue, 30 October 2012 15:22 Go to previous message
Eclipse UserFriend
No. But the dynamic class should already implement ChangeTracker.
Previous Topic:Partitioning parallel query execution
Next Topic:NPE in CascadeLockingPolicy.initUnmappedFieldsQuery
Goto Forum:
  


Current Time: Fri Jul 25 20:17:29 EDT 2025

Powered by FUDForum. Page generated in 0.27947 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top