Re: Help to query!!

From: Reinaldo Coelho Sartorelli (reinaldo_sartorell..ahoo.com.br)
Date: Tue Aug 03 2004 - 16:44:52 EDT

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

    On Tuesday 03 August 2004 16:59, Mike Kienenberger wrote:
    > Thrown when an application tries to create an instance of a class using the
    > newInstance method in class Class, but the specified class object cannot be
    > instantiated because it is an interface or is an abstract class.
    >
    > This makes me think that "br.com.leiarock.mapeamento.Generos" is not a
    > subclass of CayenneDataObject, or that it's been manually set to be
    > abstract. Hope this helps. Make sure that you are creating Generos using
    > the Cayenne Modeler tool.
    >

    I create all objects from Cayenne Modeler, i have classes _Generos and
    Generos.

    Created by Cayenne Modeler, into package br.com.leiarock.mapeamento.

    The inserts in PostgreSQL was correct, but to generate a query generate the
    error.

    :-(



    This archive was generated by hypermail 2.0.0 : Tue Aug 03 2004 - 17:40:13 EDT