Skip to content
Snippets Groups Projects
Commit 78e927bd authored by Goik Martin's avatar Goik Martin
Browse files

JPA collection links added

parent b40f5cc3
No related branches found
No related tags found
No related merge requests found
......@@ -348,8 +348,12 @@ TRACE [main] sql.BasicBinder (BasicBinder.java:65) - binding parameter [1] as [V
<tip>
<para>Since <classname>Description</classname> instances are
composites with respect to <classname>Product</classname>
you might want to use @ElementCollection in favour of
@ManyToOne / @OneToMany.</para>
you might want to use <interfacename
xlink:href="https://en.wikibooks.org/wiki/Java_Persistence/ElementCollection">@ElementCollection</interfacename>
in favour of <interfacename
xlink:href="https://en.wikibooks.org/wiki/Java_Persistence/ManyToOne">@ManyToOne</interfacename>
/ <interfacename
xlink:href="https://en.wikibooks.org/wiki/Java_Persistence/OneToMany">@OneToMany</interfacename>.</para>
</tip>
<para>Test your implementation by uncommenting the test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment