public interface PersistenceProvider
JPADataSource
to ensure it is properly set up for this implementation.Modifier and Type | Method and Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.persistence.PersistenceUnitCommon |
configure(org.jboss.shrinkwrap.descriptor.api.persistence.PersistenceUnitCommon unit,
JPADataSource ds,
Project project)
Configure the
PersistenceUnitCommon and JPADataSource . |
MetaModelProvider |
getMetaModelProvider()
The JPA 2 meta model provider related to this persistence provider.
|
String |
getName()
Get the name of this provider
|
String |
getProvider()
Get the classname of this provider.
|
List<Dependency> |
listDependencies()
List any dependencies required by this provider.
|
void |
validate(JPADataSource dataSource)
Validate against the supplied datastore
|
String getName()
String getProvider()
org.jboss.shrinkwrap.descriptor.api.persistence.PersistenceUnitCommon configure(org.jboss.shrinkwrap.descriptor.api.persistence.PersistenceUnitCommon unit, JPADataSource ds, Project project)
PersistenceUnitCommon
and JPADataSource
.List<Dependency> listDependencies()
MetaModelProvider getMetaModelProvider()
void validate(JPADataSource dataSource) throws Exception
any
- exception if the supplied datasource state is invalidException
Copyright © 2014 JBoss by Red Hat. All rights reserved.