The sad reality of this is; the current spec just doesn't not handle this and therefore neither does Glassfish, Toplink or even Hibernate EJB3 in JBoss. Believe me, I've tried. After a month of drilling on it I fell back to raw JDBC to get the job done.
[Message sent by forum member 'zambizzi' (zambizzi)]
http://forums.java.net/jive/thread.jspa?messageID=215407