st.setBoolean(idx++, pfix.length() == 0 );
st.setInt(idx++, pfix.length() == 0 ? 1 : 0 );
	public error user_conf_ls(int dom_id, String login, String pfix, 			user_conf_info_listHolder uis)			throws null_error, db_error, except { try {				PreparedStatement st = null;		ResultSet res = null;		ArrayList auis = new ArrayList();		try {			st = con.prepareStatement( 				"SELECT id_conf,val,type FROM vq_view_user_conf_ls "				+ "WHERE id_domain=? AND login=? AND (ext=? OR (?=1 AND ext IS NULL))" );			int idx=1;			st.setInt(idx++, dom_id);			st.setString(idx++, login.toLowerCase());			st.setString(idx++, pfix.toLowerCase());			st.setBoolean(idx++, pfix.length() == 0 );			res = st.executeQuery();			for( idx=1; res.next(); idx=1 ) {				user_conf_info uci = new user_conf_info();				uci.id_conf = res.getInt(idx++);				if( res.wasNull() ) uci.id_conf = 0;				uci.val = res.getString(idx++);				if( res.wasNull() ) uci.val = "";				uci.type = res.getShort(idx++);				if( res.wasNull() ) uci.type = 0;				auis.add(uci);			}			uis.value = new user_conf_info [auis.size()];			for(int i=0, s=auis.size(); i<s; ++i )				uis.value[i] = (user_conf_info) auis.get(i);		} finally {			try { if(res != null) res.close(); } catch(Exception e) {}			try { if(st != null) st.close(); } catch(Exception e) {}		}		return lr(err_code.err_no, "");	} catch( SQLException e ) {		throw new db_error(e.getMessage(), getClass().getName(), 0);	} catch( NullPointerException e ) {		throw new null_error(e.getMessage(), getClass().getName(), 0);	} catch( Exception e ) {		throw new except(e.getMessage(), getClass().getName(), 0);	} }