Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » @CacheIndex with Extended Class(Newbie problems saving an extended class whose parent uses a @CacheIndex)
@CacheIndex with Extended Class [message #1449163] Tue, 21 October 2014 01:27 Go to next message
Richard Harrison is currently offline Richard HarrisonFriend
Messages: 3
Registered: October 2014
Junior Member
Hi,

I am fairly new at JPA and EclipseLink, and I have a class with a generated ID and another unique field I need to search on, which has a @CacheIndex notation on it. That class is extended by several other classes. When I try to do a entityManager.merge() on one of the extended classes, I get a "Missing Mapping For Field [EclipseLink 45]" Exception on the field with the @CacheIndex on it. If I take off the @CacheIndex, everything works fine.

Thanks in advance for any advice you can give.
Re: @CacheIndex with Extended Class [message #1450432 is a reply to message #1449163] Wed, 22 October 2014 12:47 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
Registered: July 2009
Senior Member
Can you post the stack trace and the entity?
Previous Topic:Batch insert extremely slow
Next Topic:How can I exclude the type element from marshalled generic type in Moxy?
Goto Forum:
  


Current Time: Tue Mar 19 09:36:00 GMT 2024

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

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

Back to the top