سؤال

I am using My-Sql database. I have MS-Access as external database . The MS-Access database contains the original data's .

I want to do :

Need to retrieve the data's from MS-Access database , to My-Sql database table

To achieve this task what i am thinking is :

  • Create a java class to retrieve the data's from MS-Access
  • Store the data's into my database My-Sql
  • Use Thread concept to run the java class for simultaneous process(every 10 mins)

    I want your suggestion for this, Whether my point is correct? If not , Is there any way to achieve this task simply...!

هل كانت مفيدة؟

المحلول

I found the answer from quartz-scheduler

quartz-scheduler

It is an great feature fro java to fix the time for at which time program being executed

To transfer the data from MS-Access to MySql what is did is

  • Created a java class that retrieve the data from MS-Access for every
  • 10 min Created a java class that perform to copy the retrieved data
  • into My-Sql Converted these two classes into Executable EXE file
  • I deployed it in windows schedular task(Automatic execution when the system boot)
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top