java.sql.SQLException:无法构造描述符:尝试创建StructDescriptor对象时参数无效。我正在使用Java 1.8,在Java 1.6中运行正常。
session = getHibernateSession();
conn = getConnection(session);
conn.setAutoCommit(false);
if (conn.isWrapperFor(OracleConnection.class)) {
oracleConnection = conn.unwrap(OracleConnection.class);
}
requestDescriptor = StructDescriptor.createDescriptor(
"procedurename", conn);