Package org.hibernate.testing.orm.junit
Annotation Type Jpa
-
@Inherited @Target(TYPE) @Retention(RUNTIME) @TestInstance(PER_CLASS) @ExtendWith(EntityManagerFactoryExtension.class) @ExtendWith(EntityManagerFactoryParameterResolver.class) @ExtendWith(FailureExpectedExtension.class) public @interface Jpa
-
-
Optional Element Summary
-
-
-
Element Detail
-
persistenceUnitName
String persistenceUnitName
- Default:
- "test-pu"
-
-
-
integrationSettings
Setting[] integrationSettings
Used to mimic container integration- Default:
- {}
-
-
-
properties
Setting[] properties
Persistence unit properties- Default:
- {}
-
-
-
settingProviders
SettingProvider[] settingProviders
- Default:
- {}
-
-
-
jpaComplianceEnabled
boolean jpaComplianceEnabled
- See Also:
AvailableSettings.JPA_COMPLIANCE
- Default:
- false
-
-
-
standardModels
StandardDomainModel[] standardModels
- Default:
- {}
-
-
-
modelDescriptorClasses
Class<? extends DomainModelDescriptor>[] modelDescriptorClasses
- Default:
- {}
-
-
-
annotatedClasses
Class[] annotatedClasses
- Default:
- {}
-
-
-
annotatedClassNames
String[] annotatedClassNames
- Default:
- {}
-
-
-
annotatedPackageNames
String[] annotatedPackageNames
- Default:
- {}
-
-
-
xmlMappings
String[] xmlMappings
- Default:
- {}
-
-