Gordon Yorke-2 wrote:
>
> Is the application calling
> javax.persistence.Persistence.createEntityManagerFactory() or using
> @PersistenceContext anywhere? If it is is that part of the code active?
> --Gordon
>
Yes, all the DAOs have something like this:
@PersistenceContext(unitName="ipost")
protected EntityManager em;
The unitName is the same that I wrote earlier in persistence.xml.
These DAOs are used all the time in the application, so yes, they are
active.
--
View this message in context: http://www.nabble.com/How-to-display-Toplink%27s-generated-query--tp15892878p15925358.html
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.