Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Multitenant deployment error(Error when deploying multi tenant entities with ManyToMany relations)
Multitenant deployment error [message #1780461] Mon, 22 January 2018 17:31
Arco van der Velden is currently offline Arco van der VeldenFriend
Messages: 6
Registered: October 2017
Junior Member
Hi there,

I'm trying to setup a multitenant enviroment.
All my entities are annotated with @Multitenant(MultitenantType.TABLE_PER_TENANT)
and
@TenantTableDiscriminator(type = TenantTableDiscriminatorType.SCHEMA, contextProperty = EntityManagerProperties.MULTITENANT_PROPERTY_DEFAULT)

When I try to deploy my application on glassfish the following error occurs.
"Exception [EclipseLink-53] (Eclipse Persistence Services - 2.6.4.qualifier): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The relation table name is not set for this mapping.
Mapping: org.eclipse.persistence.mappings.ManyToManyMapping[gebruikerList]
Descriptor: RelationalDescriptor(nl.argumait.vasco.entiteiten.authenticatie.Groep --> [DatabaseTable(vasco_gebruikers.groep)])"

Which points out something is wrong with a ManyToMany relation but when I remove the multitenant properties everything works fine.
So seems like there's a problem with multitenancy and MayToMany relations.

Can someone help me out what's wrong ?
Thanks in advance.

[Updated on: Tue, 23 January 2018 16:03]

Report message to a moderator

Previous Topic:update events for @order field
Next Topic:Unable to retrieve timestampz from postgresql db
Goto Forum:
  


Current Time: Sat Apr 27 04:18:26 GMT 2024

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

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

Back to the top