Hey,
My application give the user the ability to create a virtual view.
The user insert a query - "selcet product_id from product" and we show him the structre of this virtual view.
In order to get the column types i run this query than get the "ResultSetMetaData" ( by getMetaData() ) and finally get the column type from the ResultSetMetaData.
I dont need the full results for the query, so i want to limit the results for 1.
Does any one has an idea?
Thank you
My application give the user the ability to create a virtual view.
The user insert a query - "selcet product_id from product" and we show him the structre of this virtual view.
In order to get the column types i run this query than get the "ResultSetMetaData" ( by getMetaData() ) and finally get the column type from the ResultSetMetaData.
I dont need the full results for the query, so i want to limit the results for 1.
Does any one has an idea?
Thank you