论坛首页 入门讨论版 iBATIS

请教 ibatis配置方法

浏览 151 次
该帖已经被评为新手帖
作者 正文
最后更新时间:2008-04-03

1.select b,c

from table2

 

 

select t1.a,t1.b,t2.c

from table1 t1, 1的结果 t2 

where t1.b = tx.b

 

上面这种情况,如果通过ibatis配置。

 

指通过queryForObject() 一次就可以获取结果

 

 

 

 

   
论坛首页 入门讨论版 iBATIS

跳转论坛:
JavaEye推荐