users@glassfish.java.net

Re: Specification question related to overriding annotations

From: <glassfish_at_javadesktop.org>
Date: Wed, 19 Mar 2008 09:57:42 PST

Hi, Cheng; that doesn't work either.

Basically, it appears that as soon as the @PersistenceContext annotation is present--maybe just on abstract superclasses; haven't tried it on a concrete bean--then you can't override it in XML.

I believe this is a specification violation, yes? If you agree, I'll file a bug.

Best,
Laird
[Message sent by forum member 'ljnelson' (ljnelson)]

http://forums.java.net/jive/thread.jspa?messageID=264852