• Post Reply Bookmark Topic Watch Topic
  • New Topic

modification for persistingWithRelationshipsUsingGetReference  RSS feed

 
Himai Minh
Ranch Hand
Posts: 1514
9
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!