Page 197: 10.6.13 Entity bean�s primary key class The class must provide suitable implementation of the hashCode() and equals(Object other) methods to simplify the management of the primary keys by the Container.
"int" can't do that; "Integer" could. [ November 13, 2005: Message edited by: Peer Reynders ]