Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Entity Isolation Level
Entity Isolation Level [message #900301] Mon, 06 August 2012 08:12 Go to next message
Markus KARG is currently offline Markus KARG
Messages: 28
Registered: June 2011
Junior Member
EclipseLink 2.4.0 gives me the following message when using entities X and Y which have a inheritance relationship:

Parent Entity X has an isolation level of: PROTECTED which is more protective then the subclass Y with isolation: null so the subclass has been set to the isolation level PROTECTED.


What is an entity protection level, and why do my X and Y entities have different levels? Is that MY fault?
Re: Entity Isolation Level [message #900781 is a reply to message #900301] Wed, 08 August 2012 09:11 Go to previous message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

This is just a warning message, you can ignore it.
I assume you receive it because you configured your cache setting to PROTECTED, or @Cacheable(false)

See,
http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Caching/Configuring

http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Caching/Shared_and_Isolated


James : Wiki : Book : Blog : Twitter
Previous Topic:EntityManager's createQuery question
Next Topic:RIGHT OUTER JOIN
Goto Forum:
  


Current Time: Sat Aug 30 16:27:00 EDT 2014

Powered by FUDForum. Page generated in 0.02005 seconds