On Dec 11, 2006, at 5:34 PM, Craig L Russell wrote:

Hi Dain,

How about

Object pk = bean.getId();

That implies that every persistent bean implements getId(). That would work find for the beans I write but not for beans other write. This is a major hole in the JPA spec if you ask me.

-dain

Reply via email to