The main difference between these two methods with regards to CMP entity beans is that this method returns the primary key class in
EJB 1.1, and it returns null in EJB2.0. For BMP, I believe there is no difference, they both return the primary key class.
Raffi