
上QQ阅读APP看书,第一时间看更新
Collection Backed by a Join Table with an Ad Hoc ORM
It's possible to do the same with an Ad hoc ORM, where Cascade INSERTS and JOIN queries are required. It's important to be careful about how the removal of Value Objects is handled, in order to not leave orphan the Money Value Objects.
Exercise
Think up a solution for DbalHistoricalRepository that would handle the persist method.
Think up a solution for DbalHistoricalRepository that would handle the persist method.