"insert into invoice(sno,entrydate,invoicedate,companyname,party,station,purchase,avail,sale) " + values("+Integer.getInteger(head.getSerial().getText())+",to_date('"+head.getEntryDate().getText()+ "','dd/mm/yyyy')"+",to_date('"+head.getInvoicedate().getText()+ "','dd/mm/yyyy')"+",'"+head.getCompany().getSelectedItem()+"'"+"'"+head.getParty().getSelectedItem()+"','"+head.getStation().getSelectedItem()+"',"+Integer.getInteger(head.getPurchase().getText())+",1,"+Integer.getInteger(head.getSale().getText())+")");
SNO NOT NULL NUMBER(38)
ENTRYDATE DATE
INVOICEDATE DATE
COMPANYNAME VARCHAR2(50)
PARTY VARCHAR2(50)
STATION VARCHAR2(50)
PURCHASE NUMBER(10,2)
AVAIL NUMBER(1)
SALE NUMBER(10,2)
Whats wrong in this query.... I am getting sqlException ....