Hi, I deployed an entity bean with an external primary key class (I had more than one primary key field); I declared that class simply with the key field as public and then with getter/setter methods for each field.
Everything works fine: I can write and read entity beans succesfully. Anyway, during deployment I receive the following warnings: 21:37:05,156 WARN [EJBVerifier20] Default instances of primary key: class org.site.framework.ejbs.entities.UsersKey do not equate, check your equals method 21:37:05,156 WARN [EJBVerifier20] Default instances of primary key: class org.site.framework.ejbs.entities.UsersKey do not have the same hash, check your hashCode method In the ejb-jar.xml file I declared only the <prim-key-class> element, without the <primkey-field> What do the warnings mean? Thanks in advance, Marco ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
