• Post Reply Bookmark Topic Watch Topic
  • New Topic

add child entity method

 
srini carry
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have entity Item and Bid as per hibernate documentation
create add method to add bids




my confusion is with the last line of the method should I use the instance varible bids or should call getBids() method ?
 
srini carry
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is this question not clear or no body here can help me with this ?

srini carry wrote: have entity Item and Bid as per hibernate documentation
create add method to add bids




my confusion is with the last line of the method should I use the instance varible bids or should call getBids() method ?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!