|Multitenant deployment error [message #1780461]
||Mon, 22 January 2018 17:31
| Arco van der Velden
Registered: October 2017
I'm trying to setup a multitenant enviroment.
All my entities are annotated with @Multitenant(MultitenantType.TABLE_PER_TENANT)
@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.
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
Powered by FUDForum
. Page generated in 0.02675 seconds