persistence icon indicating copy to clipboard operation
persistence copied to clipboard

injection and JNDI lookup of EntityAgent

Open gavinking opened this issue 1 month ago • 2 comments

We need a way to expres a dependency on an EntityAgent, analogous to @PersistenceContext. At first I thought we could reuse @PersistenceContext or @PersistenceUnit for this, but actually that doesn't work for the JNDI lookup scenario, which might be important for Jakarta Data repository clients. (In fact, there are other reasons why @PersistenceContext is not quite right.)

So I suppose we might need an @PersistenceAgent annotation. (Blah.)

gavinking avatar Dec 18 '25 16:12 gavinking