I am using EnterpriseDB 9.2 advanced server (an Oracle compatible PostgreSQL fork) and I want to read data from a clob or text type data type column using getClob()
method.
I'm getting error when trying:
org.postgresql.util.PSQLException: Bad value for type long :
adminuser@domainUser Logged In Sucessfully at org.postgresql.jdbc2.AbstractJdbc2ResultSet.toLong(AbstractJdbc2ResultSet.java:2971) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getLong(AbstractJdbc2ResultSet.java:2163) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getClob(AbstractJdbc2ResultSet.java:436)
So is it possible to read data from above mentioned scenario using any technique in postgresql?