@ManyToMany: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 6: Line 6:
=Overview=
=Overview=


Declares a many-to-many relationship.
Declares a [[Relational_Databases#Many-to-Many_.28M:N.29_Relationships|many-to-many relationship]].


<syntaxhighlight lang='java'>
<syntaxhighlight lang='java'>

Latest revision as of 04:01, 16 October 2018

Internal

Overview

Declares a many-to-many relationship.

@ManyToMany(targetEntity = Something.class)
private List<Something> somethings;