Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Discriminator and caching(Problem with turning off caching and Discriminators)
Discriminator and caching [message #652347] Thu, 03 February 2011 16:13 Go to next message
Kevin H is currently offline Kevin HFriend
Messages: 7
Registered: November 2010
Junior Member
We recently added <property name="eclipselink.cache.shared.default" value="false"/> to the persistence.xml to turn off caching of the query results. This change seems to be causing some issues with with entities that have Discrimitor Columns defined. The discriminator value is coming through as null now when it used to be set fine previous to this. Any ideas?
Re: Discriminator and caching [message #652553 is a reply to message #652347] Fri, 04 February 2011 14:16 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1342
Registered: July 2009
Senior Member

I do not see how these two things can be related as the descriminator column should be read in from the database, not the cache anyway. Please provide more information on your entities - perhaps it might be better to file a bug where you can provide a small reproducable test case.

Can you show a particular query you are having problems with?

Best Regards,
Previous Topic:EclipseLink 2.1.2 on JBoss 6.0.0 Final
Next Topic:Discriminator value and char trimming problem
Goto Forum:

Current Time: Sun Mar 29 07:06:01 GMT 2020

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

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

Back to the top