Re: error in hibernate persistance service

Maurizio Brilli <[email protected]> Thu, 01 Jul 2004 18:52:22 +0200
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
Maurizio Brilli ha scritto:

> Hi everybody,
> though Aleks' instructions stopped right were I had already arrived, 
> I'm trying to go ahead on my own. Now I'm stuck after building the 
> project with "ant nonetinstall".
> The tomcat server starts regularly, but, when I try the "createdb" 
> model, I get the following error:
>
> null, Could not return a reference to the Component 
> (Key='org.keel.services.persist.PersistentFactory/*')
>
> Any clues?
> Ciao
> Maurizio
>
> _______________________________________________
> User mailing list
> [email protected]
> http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
>
By double-checking the Tomcat output, I found two instances of following 
error before the one I cited in my previous message:

GRAVE: Could not compile the mapping document
net.sf.hibernate.MappingException: composite-id class must override 
equals(): or
g.keel.apps.poll.entity.CatSec
        at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:305)

Does this make any sense to anybody?
Ciao
Maurizio