users@glassfish.java.net

Seems I'm experiencing an old bug...

From: <glassfish_at_javadesktop.org>
Date: Fri, 16 May 2008 06:18:07 PDT

I seem to have a similar problem as "mpease" in this old thread:
http://forums.java.net/jive/message.jspa?messageID=104310

My error exactly:
Caused by: Exception [TOPLINK-7] (Oracle TopLink Essentials - 2.0 (Build b58-rc1 (08/04/2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: The attribute [members] should be of type Vector (or a type that implements Map or Collection, if using Java 2).
Mapping: oracle.toplink.essentials.mappings.ManyToManyMapping[members]
Descriptor: RelationalDescriptor(com.bluebricks.net.entity.addressbook.Group --> [DatabaseTable(bb_core.bb_group)])

The members attribute is declared like this:
private Collection<Contact> members = new TreeSet<Contact>( new ContactComparator() );

Is it the Comparator constructor that creates problems?

Marius
[Message sent by forum member 'mariusw' (mariusw)]

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