/**
* @author lxh
*2011-5-27
* 大数据查询
*/
public List findAllbyOrgUserbean() {
log.debug("finding all OrgUser instances");
try {
final String queryString = "select USERID,USERNAME,DISPLAYNAME," +
" BUSINESSTELEPHONE, BUSINESSTELEPHONE0, BUSINESSTELEPHONE1," +
" DESCRIPTION, STATE, SEQ, ORGID from tbl_org_user";
return this.getHibernateTemplate().executeFind(new HibernateCallback(){
public Object doInHibernate(Session session) throws HibernateException, SQLException {
List<OrgUserbean> result = new ArrayList();
Connection conn=session.connection();
PreparedStatement ps=null;
ps=conn.prepareStatement(queryString);
ResultSet rs = ps.executeQuery();
while(rs.next()){
OrgUserbean ub =new OrgUserbe