@ManyToMany: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * @ManyToMany * Spring Data JPA =Overview= <syntaxhighlight lang='java'> @...")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


=Overview=
=Overview=
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;