I am using query
select x
from table1 x
order by x.it desc
It is working good when I use it with Postgres but whenever i change the database and start to use oracle it is throwing an error that is,
ERROR -- ORA-01722: invalid number
org.hibernate.exception.SQLGrammarException: could not execute query