public Integer ejbFindForUser(User user) throws FinderException { String userPK = user.getPrimaryKey().toString(); IDOQuery query = idoQueryGetSelect(); query.appendWhereEqualsQuoted(COLUMN_USER, userPK); return (Integer) idoFindOnePKByQuery(query);
public Object ejbFindForUser(User user) throws FinderException { Table table = new Table(this); Column userCol = new Column(table, COLUMN_USER);  SelectQuery query = new SelectQuery(table); query.addColumn(new WildCardColumn(table)); query.addCriteria(new MatchCriteria(userCol, MatchCriteria.EQUALS, user.getPrimaryKey()));  return idoFindOnePKBySQL(query.toString());
	public Integer ejbFindForUser(User user) throws FinderException {		String userPK = user.getPrimaryKey().toString();		IDOQuery query = idoQueryGetSelect();		query.appendWhereEqualsQuoted(COLUMN_USER, userPK);		return (Integer) idoFindOnePKByQuery(query);	}