Help to query!!

From: Reinaldo Coelho Sartorelli (reinaldo_sartorell..ahoo.com.br)
Date: Tue Aug 03 2004 - 14:57:35 EDT

  • Next message: Mike Kienenberger: "Re: Help to query!!"

    Hi people, i have a code down, but this generate a error :

    Erro: [v.1.1M7_1 June 15 2004] Error creating object for entity 'Generos'.

            public List ListGenero(String Name){
                    try{
                            //Class Generos(have a description attribute)
                            SelectQuery query = new SelectQuery(this.getClass());
                            List list = conexao.performQuery(query);
                            System.out.println("OK");
                            return list;
                    }
                    catch(Exception e){
                            System.out.println("Error: " + e.getMessage());
                            return null;
                    }
            }

    Tks,
    Reinaldo.



    This archive was generated by hypermail 2.0.0 : Tue Aug 03 2004 - 14:58:04 EDT