Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Native ORM & EclipseLink 2.3.2 Multi-Tenancy(Native ORM & EclipseLink 2.3.2 Multi-Tenancy)
Native ORM & EclipseLink 2.3.2 Multi-Tenancy [message #797279] Mon, 13 February 2012 09:16 Go to next message
Mohammad Abdo is currently offline Mohammad AbdoFriend
Messages: 6
Registered: January 2012
Location: Jordan
Junior Member
Dears,

Can I use EclipseLink 2.3.2 Multi-Tenancy with EclipseLink Native ORM? Or Multi-Tenancy is supported through JPA only?
Re: Native ORM & EclipseLink 2.3.2 Multi-Tenancy [message #804361 is a reply to message #797279] Wed, 22 February 2012 14:37 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

You can set a MultitenantPolicy on a ClassDescriptor in the native ORM. Either a SingleTableMultitenantPolicy or VPDMultitenantPolicy.

The tenant is set through a Session property.


James : Wiki : Book : Blog : Twitter
Previous Topic:How to configure Generation strategy in Dynamic Type?
Next Topic:Query Hints - Multiple Formats?
Goto Forum:
  


Current Time: Fri Apr 26 21:38:37 GMT 2024

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

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

Back to the top