jspからのSQL問い合わせって、*しかダメですか?
select TO_CHAR(aaa,'yyyy') from test
って書くと、結果が取得できませんが…
select * from test
は通るんですがね