Hi Gowri,
Looks like your code is almost there. It's querying the excel file, just
not inserting anything into Postgres. Correct?
You just need to make those insert using the "dc" object (which seems to be
your postgres database):
dc.executeUpdate(callback -> {
callback.insert(...)
});
2018-01-10 2:03 GMT-08:00 gowri.tn <[email protected]>:
> Respected Sir/Madam,
> We are implementing Apache Metamodel for getting
> Excel Sheet Data to Postgresql Table . I am enclosing here with the code
> we have written for the above and the output we got after running the class
> file on console using Eclipse Oxygen
>
> Please see the attached file and give us sample code for inserting the data
> to postgresql table. Your earliest reponse in this regard will be most
> helpful for us.
>
> Thanking you in advance,
>
> With regards,
>
> Gowri S
>