Hibernate Your Data
Subject:   Why fields "productId" and "orderId" in OrderItem?
Date:   2004-01-16 00:46:28
From:   anonymous2
Nice tutorial.

It's not clear to me why OrderItem has fields "productId" and "orderId". In fact I think that there are not needed as the class already has members "product" and "order".

1 to 1 of 1
1 to 1 of 1