javax.persistence.persistence_1_0.xsd Maven / Gradle / Ivy
@(#)persistence_1_0.xsd 1.0 Feb 9 2006
...
]]>
Configuration of a persistence unit.
Textual description of this persistence unit.
Provider class that supplies EntityManagers for this
persistence unit.
The container-specific name of the JTA datasource to use.
The container-specific name of a non-JTA datasource to use.
File containing mapping information. Loaded as a resource
by the persistence provider.
Jar file that should be scanned for entities.
Not applicable to Java SE persistence units.
Class to scan for annotations. It should be annotated
with either @Entity, @Embeddable or @MappedSuperclass.
When set to true then only listed classes and jars will
be scanned for persistent classes, otherwise the enclosing
jar or directory will also be scanned. Not applicable to
Java SE persistence units.
A list of vendor-specific properties.
A name-value pair.
Name used in code to reference this persistence unit.
Type of transactions used by EntityManagers from this
persistence unit.
public enum TransactionType { JTA, RESOURCE_LOCAL };