File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Customer and Customer activity file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Customer and Customer activity file" Watch "Customer and Customer activity file" New topic
Author

Customer and Customer activity file

tanaka ryouichi
Greenhorn

Joined: Sep 24, 2004
Posts: 2
Hello.
I have a customer record and its associated customer activity records.
One customer has typically 1000 or 1500 activity records associated with.
Customer record also has last activity date to be updated whenever we have updated the activity file.

My question is everytime I read a customer record, activity files are read (just id). But I don't want to read activity record when I'm just updating customer record.

Also, when I'm inserting a new activity record to customer, I just want to add a activity record and don't want to read whole records.

How is everyone getting around this?

Thanks!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Customer and Customer activity file
 
Similar Threads
URLyBird - Data file spec
Showing 300000+ records in JTable
Database .db file question
design question: should the lock manager be synchronized whenever it's used in Data?
GUI display & booking questions