weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB incompatible with oracle.sql.CLOB 解决方
Object ocontent = resMap.get("CONTENTS"); //weblogic 驱动问题 if("weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB".equals(ocontent.getClass().getName())){ Method method = ocontent.getClass().getMethod("getVendorObj",new Class{}); resContents = (oracle.sql.CLOB)method.invoke(ocontent); } else{ resContents = (CLOB) resMap.get("CONTENTS"); }