I am querying Oracle tables and I would like the resultSet will bring the columns at the same order they were defined at the database.
I must use SELECT * on these tables for internal reasons and cannot specify the columns names instead.
Now, I am using the following standard code for that:
As I mentioned above: I MUST use SELECT * on these tables for internal reasons and cannot specify the columns names instead. I am getting these tables on runtime and I don't know the columns names ahead.
In this case no dbadmin will ever change these tables.
I need to exports these results to excel and it get uploaded to a different DB but it has to have the same order.
But Never mind, now I see I do get the same order it's just the SAP GUI that presents these Oracle fields differently.