Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » AdditionalCriteria in ServerSession
AdditionalCriteria in ServerSession [message #1076442] Wed, 31 July 2013 12:05
Thomas Kratz is currently offline Thomas KratzFriend
Messages: 165
Registered: July 2009
Senior Member
HI again.

As making progress with eclipselink features, I found that when I try to use AdditionalCriteria on my Entities, I have to pass the relevant property on creation of my EntityManager. Thats fine so far, but when I try to lazy load after the em has been closed, that seems to be done by the ServerSession that doesn't know of the property (which makes sense somehow) and simply fails therefore, as it complains about the property not having been set. I would be able to provide the property on a threadlocal basis, but I wonder if there is any possibillity to make this available to the ServerSession. btw, I had similar trouble when playing with MultiTenant/Discriminator approach.

Is there a chance to solve this? Then I could rely on the query cache even if I'm running multitenant.
Previous Topic:Schema generation script in JPA 2.1
Next Topic:MOXy: Binding working and not working with 'same' XmlPath
Goto Forum:
  


Current Time: Fri Mar 29 00:25:16 GMT 2024

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

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

Back to the top