Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class. Used to override the mapping of a Basic whether explicit or default property or field or Id property or field. Specifies whether an entity should be cached if caching is enabled when the value of the persistence.
Specifies the table that is used for the mapping of collections of basic or embeddable types. Specifies the value of the discriminator column for entities of the given type. Specifies a class whose instances are stored as an intrinsic part of an owning entity and share the identity of the entity.
Specifies a persistent field or property of an entity whose value is an instance of an embeddable class. Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class.
Specifies the callback listener classes to be used for an entity or mapped superclass. Specifies that a persistent property or field should be persisted as a enumerated type. Specifies that the invocation of default listeners is to be excluded for the entity class or mapped superclass and its subclasses.
Specifies that the invocation of superclass listeners is to be excluded for the entity class or mapped superclass and its subclasses. Used to specify the handling of foreign key constraints when schema generation is in effect. Provides for the specification of generation strategies for the values of primary keys. Specifies a composite primary key class that is mapped to multiple fields or properties of the entity.
Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type. Specifies a single-valued association to another entity class that has many-to-one multiplicity.
Specifies the map key for associations of type java. Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map. Specifies the type of the map key for associations of type java. Specifies the mapping for the key column of a map whose map key is a basic type.
This annotation must be specified for persistent map keys of type Date and Calendar. Designates a class whose mapping information is applied to the entities that inherit from it.
Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or a simple primary key of the parent entity. Specifies a single-valued association to another entity that has one-to-one multiplicity. Specifies the ordering of the elements of a collection valued association or element collection at the point when the association or collection is retrieved.
Expresses a dependency on a container-managed EntityManager and its associated persistence context. Declares one or more PersistenceContext annotations. Expresses a dependency on an EntityManagerFactory and its associated persistence unit. Declares one or more PersistenceUnit annotations. Specifies a primary key column that is used as a foreign key to join to another table. Groups PrimaryKeyJoinColumn annotations.
Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation. Is used to define one or more SqlResultSetMapping annotations. This annotation must be specified for persistent fields or properties of type java. Date and java. Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table.
Specifies the version field or property of an entity class that serves as its optimistic lock value. A class that implements this interface can be used to convert entity attribute state into database column representation and back again. Interface used to interact with the second-level cache. Interface used to interact with the persistence context.
Interface used to control transactions on resource-local entity managers. Utility interface between the application and the persistence provider s. Interface used to control stored procedure query execution. Interface for extracting the elements of a query result tuple. Interface used to control the execution of typed queries. Defines strategies for fetching data from the database. Defines the types of primary key generation strategies.
Specifies the mode of a parameter of a stored procedure query. The validation mode to be used by the provider for the persistence unit. Thrown by the persistence provider when an optimistic locking conflict occurs. Thrown by the persistence provider when a problem occurs. Thrown by the persistence provider when an pessimistic locking conflict occurs. You can find all of the JavaMail jar files in both the java. Read it again. Tell everyone you know to read it.
Thank you! You can also subscribe to the mailing list. Or, post a question on Stack Overflow using the javamail tag. From time to time snapshot releases of the next version of JavaMail under development are published to the java.
These snapshot releases have received only minimal testing, but may provide previews of bug fixes or new features under development.
For example, you can download the javax. Be sure to scroll to the bottom and choose the jar file with the most recent time stamp. The latest release includes support for JavaMail on Android. See the Android page for details. The use of OAuth2 authentication with JavaMail is described here.
The following pages provide hints and tips for using JavaMail on particular operating systems or environments:. See Build Instructions for instructions on how to download and build the most recent JavaMail source code. You can also find a bundle of the source code for the most recent JavaMail release in the Releases area of this project.
0コメント