aspose file tools
The moose likes Java in General and the fly likes how to create a java program which tracks the database operations like insertion and updatation etc. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "how to create a java program which tracks the database operations like insertion and updatation etc." Watch "how to create a java program which tracks the database operations like insertion and updatation etc." New topic
Author

how to create a java program which tracks the database operations like insertion and updatation etc.

srinivas urs
Greenhorn

Joined: Apr 06, 2011
Posts: 12
Friends,

I need to create basic java program which will not use threads or anything else, which has to track the operations (insertion, update and etc., ) on the DB tables.

Please let know if anybody knows.... it is very urgent.

Thanks in advance.

Regards,
Srinivas
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8717
Eh oh,

Let's move this over to Java in General, but remember, we don't hand out solutions here - show us what you've already done and we'll help you go from there.

Bert


Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1127
    
    7

Could you use log4j to log these operations when they are called from your Java DB interface?

Or you could do this via triggers on the database tables, if your RDBMS (and DBAs) will permit this. Then you can be sure these operations will be recorded, no matter where they are called from.


ex-Oracle bloke
srinivas urs
Greenhorn

Joined: Apr 06, 2011
Posts: 12
Thanks chris... for giving the valuable info... will try
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to create a java program which tracks the database operations like insertion and updatation etc.
 
Similar Threads
how to soloving this problem?
inserting values in the Excel sheet
viewing images,text,providing editing features
programming basics
efficient structure to support searches, inserts and deletes