日期:2014-05-18 浏览次数:20655 次
Connection connection = null;
try {
CallableStatement proc = null;
connection = getConnection(dataSource);
proc = connection.prepareCall(sql);//编译时候无错误,部署到tomcat中提示空指针异常
}
Connection connection = null;
CallableStatement proc = null;
try {
connection = getConnection(dataSource);
proc = connection.prepareCall(sql);//无错误
}