Have you tried PreparedStatement.getMetaData()?

> On Jan 25, 2017, at 5:11 AM, ravi katkar <[email protected]> wrote:
> 
> Hi list,
> 
> I am working on POC for our requirement, majorly relying on the CSV
> adapter.
> 
> I am looking way to retrieve the  columns from the select clause from the
> sql -query in csv adapter.
> 
> Eg: select firstname, lastname,dept from Employee where empid= 10;
> 
> i want to retrive  columns firstname, lastname, dept from the query.
> 
> Thanks,
> Ravi K

Reply via email to