I want to store the Arraylist values into database(postgresql database) in java.
ArrayList<String> ActiveProcess = new ArrayList<String>();
ArrayList<String> InActiveProcess = new ArrayList<String>();
I want to store the details in a database ProcessInfo table with following fields Process Name, Process Status, Email Sent, SMS Sent, LastModifiedTime. The ActiveProcess contains the process names are server.exe, Receiver.exe .etc
its process status is true,Email Sent, SMS Sent is false.
The InActiveProcess contains the process names are SmsReceiver.exe, sender.exe .etc
its process status is false ,Email Sent, SMS Sent is true .
How to do this..? Thank in advance.