---
title: "weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB incompatible with oracle.sql.CLOB 解决方"
author: "dmwdmc"
date: "2013-09-23T16:02:37Z"
tags: []
categories: ["数据库"]
slug: "weblogic-jdbc-wrapper-clob-oracle-sql-clob-incompatible-with-oracle-sql-clob"
draft: false
lastmod: "2013-09-23T16:02:37Z"
id: 1945984
url: "https://dmwdmc.iteye.com/blog/1945984"
---

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");
			    }