javax.persistence.spi
Interface PersistenceProvider
public interface PersistenceProvider
Persistence.createEntityManagerFactory creates a new
PersistenceProvider of the type specified in the
"javax.persistence.provider" setting. This setting is the
full class name of the PersistenceProvider to
construct. Then, the Persistence class invokes the
createEntityManagerFactory method on the provider, with a
copy of the map passed to the method
Persistence.createEntityManagerFactory(java.util.Map) merged
with the contents of the persistence.properties resource, as
loaded by the Persistence class.
The class that implements this interface must have a public
no-arg constructor.
Warning: this class is from the
EJB 3.0 Persistence API Early Draft 2 published on February 7, 2005,
and as such is likely to change signifcantly in the future as
the specification nears finalization.
- See Also:
http://java.sun.com/products/ejb/docs.html
createEntityManagerFactory
EntityManagerFactory createEntityManagerFactory(Map m)
- Persistence.createEntityManagerFactory