In the ejb-3.o specification – page 120 – you’ll find an example. Usually i use hibernate as persistence library, and i have to close the hibernate session (witch close the jdbc connection).
In JPA i don’t understand who close the resources, in particular the jdbc connection. Or, using a connection pooling, who return the jdbc connection object to the pool.
Thank for your reply,
Marco