This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

modification for persistingWithRelationshipsUsingGetReference  RSS feed

 
Ranch Hand
Posts: 1686
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think two modifications needs to be done for chapter 6's persistingWithRelationshipsUsingGetReference:




The second modification, originally in createEmployee method, it uses


But the objective of the example is to use getReference to return the proxy of Department,
so we should use getReference () instead.
 
This will take every ounce of my mental strength! All for a tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!