Hi Chris
The bug.zip file attached to my original post contains:
Testchild.java
TestchildPK.java (primary key representation)
Testparent.java
orm.xml (mappings which override the annotations, if any)
script10.sql which defines the table structures, keys etc.
Like I said, I've been using Oracle JDeveloper to generate both the SQL for the table creates and to reverse engineer the java from that, so I wouldn't be surprised to find some funnies as their implementation of all the JPA annotations is incomplete (hence my need to override with orm.xml) - but equally, it could just be me.
[Message sent by forum member 'richliv' (richliv)]
http://forums.java.net/jive/thread.jspa?messageID=238474