We're updating the issue view to help you get more done. 

Infinispan Remote support all JoinTable association type use cases

Description

Currently Infinispan remote dialect is not capable of implement a join table strategy to map associations to datastore caches.
Join table is used, speaking of Hibernate ORM 5.3.0.Final, also for OneToMany association if a @JoinColumn annotation is not defined on field and if the association is unidirectional. Futhermore join table strategy is used of course also to implement all ManyToMany associations.
If the dialect try to implement JoinTable an OGM001711 error message is risen, showing the text: "This domain model would cause table '%s' to be generated without a primary key. This is not supported on an Infinispan Remote dialect: check that your embedded collections have a proper ordering definition.".
In this issue we want to remove this limitation, allowing Infinispan Remote dialect to handle join column mapping on association, for all use cases that require this mapping.

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Fabio Massimo Ercoli

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.4.0.Beta1

Priority

Major