myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gernot <>
Subject CODI: Wiki "JPA Usage"
Date Mon, 01 Aug 2011 15:38:22 GMT
I tried "Using one (default) Entity Manager"
public class DataBaseProducer
    private EntityManager entityManager;

    public void dispose(@Disposes @Default EntityManager entityManager)

This does not work - I get following error at "@Disposes" in eclipse:
"There is no producer method declared by the (same) bean class that is
assignable to the disposed parameter of a disposer method [JSR-299

Whats wrong?

thx, gernot

View raw message