I made a java application for sending SMS via Huwei Modem. Everything is working properly. I used netbeans for making this java application. According to this application, logs data will appear in Jtext Area after sending SMS to any receipt such as Receipt name, number, message and status of the message. But I would like to insert these logs data into SQL table.
I tried to mentioned below link but failed https://www.tutorialspoint.com/log4j/log4j_logging_database.htm
{ jTextAreaLog.append(msg.toString()); }
void appendToJTextAreaLog(String txt)
{
jTextAreaLog.append(txt);
}