DAO for cross-table queries
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Maciej_Gawinecki
Posted On:   Monday, October 9, 2006 04:45 PM

Hi,

Imagine the following situation. I've got two tables in my DB: shops and products. For each of them I've created seperate DAO (Date Access Object), so I could ask such question: what is the name of shop X or add new product. By the given table are connected via relation: shop-sells-product. So there is a need to build yet another DAO for cross-table queries, isn't?
What is a good, common-used practice for such situations?

Regards,
Maciej

About | Sitemap | Contact