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

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:EclipseLink JPA Multi-Tenancy - Bidirectional OneToOne - ArrayIndexOutOfBoundsException
Next Topic:Issue with deployment of EJB project
Goto Forum:

Current Time: Sun Mar 18 08:14:07 GMT 2018

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

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