@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'> @...")
 
Line 5: Line 5:


=Overview=
=Overview=
Declares a many-to-many relationship.


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

Revision as of 03:46, 16 October 2018

Internal

Overview

Declares a many-to-many relationship.

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