Show us the whole bean declaration to look at
I use the key word "AS" between the abstract-table-name and the alias, but I think this is not needed (FROM GenericRelation AS o).
came to work, fired up emacs, loaded the deployment descriptor, got my coffe, started to looking at it, after 10 seconds:
"hang on, where is my <primkey-field>id</primkey-field> tag?"
it works fine now, cheers for the reply lafr