users@glassfish.java.net

javax.persistence.PersistenceException:

From: <glassfish_at_javadesktop.org>
Date: Mon, 16 Apr 2007 15:54:38 PDT

I edited one of my entities, Claimant , and replaced

@OneToMany(mappedBy="claimant",cascade=CascadeType.ALL,targetEntity=Payee.class)
       protected Collection<? extends Payee> payees;

with

@OneToMany(mappedBy="claimant",cascade=CascadeType.ALL,targetEntity=Payee.class)
       protected Set<Payee> payees;




But that seem to have broken something in Hibernate mappings because
I'm now getting this exception:


javax.persistence.PersistenceException:
org.hibernate.MappingException: Could not determine type for:
java.util.Set, for columns: [org.hibernate.mapping.Column(payees)]
[Message sent by forum member 'jeffmutonho' (jeffmutonho)]

http://forums.java.net/jive/thread.jspa?messageID=212621