Weblogic和Web应用中的包冲突

http://kingsleylong.iteye.com/blog/946448

getOracleSqlStruct(((OracleCallableStatement)cstmt).getSTRUCT(2));

if (struct!=null && "weblogic.jdbc.wrapper.Struct_oracle_sql_STRUCT".
equals(struct.getClass().getName())){
Method method = struct.getClass().getMethod("getVendorObj",
new Class[]{});
resultSTRUCT = (oracle.sql.STRUCT)method.invoke(struct);
}

猜你喜欢

转载自ainn2006.iteye.com/blog/1612542