sqlmapclient = com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(reader);
if(sqlmapclient!=null){
System.out.println("1226t762");}
reader.close();
public List<Student> queryAllStudent() {
List<Student> studentList = null;
try {
sqlmapclient.queryForList("selectAllStudents",studentList);
if(studentList==null){
System.out.println("12222");}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return studentList;
} 我用PLSQL SELECT *可以得到结果 但是 在IBATIS里面studentList老是返回的是BULL怎么回事啊
if(sqlmapclient!=null){
System.out.println("1226t762");}
reader.close();
public List<Student> queryAllStudent() {
List<Student> studentList = null;
try {
sqlmapclient.queryForList("selectAllStudents",studentList);
if(studentList==null){
System.out.println("12222");}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return studentList;
} 我用PLSQL SELECT *可以得到结果 但是 在IBATIS里面studentList老是返回的是BULL怎么回事啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货