hi....
I am working on incremental backup project for ms access database.
But i have problem in getting last modification date-time of tables using java.
please help me...
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
hi....
I am working on incremental backup project for ms access database.
But i have problem in getting last modification date-time of tables using java.
please help me...
You have a few options here, you could either;
1.) Use database triggers
2.) Have a "Last updated" column in your table, and update it with a Date object whenever an update/insertion is performed
There will be other options which work, but you could easily find them through Google.
Best of luck.
Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code
Multi-posted here:
http://www.javaprogrammingforums.com...sing-java.html
Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code
seemone (January 7th, 2012)
thanks!
But database( whose table's modification time i want to know ) is selected by user for backup through my software .
so ,i can't change database tables in any way.
please give me some other solution which works without any change in database.
If I've understood you properly, you have software which backs up user specified databases and their tables, in which case I don't have any idea how you could get the information if you've never seen the database files before.
This isn't to say it isn't possible, but without it being a table created by your software, I just don't know.
Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code