It would also help if there's a way to get all the columns from a view. If I can do that I can remove the hidden columns by the name and create a custom select using only the columns I need instead of *.
Just to explain a little bit more: I have a generic select util that accepts the view name and other params that I reuse every time I need to get the data from a view:
function executeQueryDelta(pConnection, pViewName, pFirst, pSize, pDeltaBegin, pDeltaEnd) {
var comando = 'SELECT * FROM "TEST"."' + pViewName +
'" WHERE "LAST_UPDATE" BETWEEN \'' + pDeltaBegin + "' and \'" + pDeltaEnd +
'\'LIMIT ' + pSize + ' OFFSET ' + pFirst;
var qryVista = pConnection.prepareStatement(comando);
return qryVista.executeQuery();
}
So I not always know the columns I'll have in a view, nor what columns are hidden.