The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

422205 (1) [Avatar] Offline
In the book(page 65), it says "Instead of mapping Item#bids and User#bids collections, you can write queries to obtain all the bids for an Item and those made by a particular User. The associations in the UML diagram would point from the Bid to the Item and User, unidirectionally, and not the other way. The stereotype on the Bid class would then be <<Value type>>. "
The statement above confuses me a lot. I'm a beginner in Hibernate. Can someone help me.
If the associations is form Bid to Item and User, I can't have reference or value of Bid in both Item or User, so where should I put this <<value type>> in. So, I think Bid should be a <<Entity>> in this case.