Forums Register Login

Complex DAO

+Pie Number of slices to send: Send
Can i get some examples how to insert/ update / select in ComplexDAO
Regards,
aakash
+Pie Number of slices to send: Send
What is ComplexDAO?
+Pie Number of slices to send: Send
If you mean a Complex DAO, then I would look at Martin Fowler's book "Patterns of Enterprise Application Architecture".
Kyle
+Pie Number of slices to send: Send
 

Originally posted by Kyle Brown:
If you mean a Complex DAO, then I would look at Martin Fowler's book "Patterns of Enterprise Application Architecture".


Hmm. I've skimmed through the book (haven't bought it yet) and don't remember such a pattern. Could you post a short description of it (what makes it "complex")?
+Pie Number of slices to send: Send
What I meant to say of Complex DAO is a DAO comprising of more than one table. In a case when in a scenario I want to fetch records from more than 2 tables using DAO. In that case my Complex DAO will be of multiple tables.
Something like in SQL it will be.
SELECT * from ORDER, ORDERDETAIL where order.orderno = orderdetail.orderdetailno;
+Pie Number of slices to send: Send
Joins and relationships are one of the things Martin's book touches on. There are about a dozen databse related patterns there that you might find useful.
Kyle
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1145 times.
Similar Threads
serizalize primitive data type
Transaction Management in SpringDAO
Where are Entity Beans?
PortableRemoteObject.
EJBHandle
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:47:16.