This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Related to Design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Related to Design" Watch "Related to Design" New topic
Author

Related to Design

Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Hi All,
I want to discuss something for better design of my application. I have different Value Objects(VOs) for different entities. Like i have CustomerVO,UserVO etc. These VOs are mapped to the Database entities. My Question is that if i have multiple rows to effect suppose i have the query "update users set ...... where customer_id=?" (1-N relationship), which will effect more than 1 row at a time. So for these kind of queries what should be the good design? i mean where should i run these types of queries? It will not be a good design to run these types of queries in any VO because this type of query could be related to multiple tables. So please assist me in designing my Application Best. Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Related to Design
 
Similar Threads
Injected Services - Fewer Large services versus many smaller services. Best Practice?
hibernate cache
Hibernate second level cache questions
domain objects as DTO's
JPA Persistence Unit Merging