package-summary.html
来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 622 行 · 第 1/3 页
HTML
622 行
<TD WIDTH="15%"><B><A HREF="../../javax/persistence/NoResultException.html" title="class in javax.persistence">NoResultException</A></B></TD><TD>Thrown by the persistence provider when <A HREF="../../javax/persistence/Query.html#getSingleResult()"><CODE>getSingleResult()</CODE></A> is executed on a query and there is no result to return.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/OptimisticLockException.html" title="class in javax.persistence">OptimisticLockException</A></B></TD><TD>Thrown by the persistence provider when an optimistic locking conflict occurs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/PersistenceException.html" title="class in javax.persistence">PersistenceException</A></B></TD><TD>Thrown by the persistence provider when a problem occurs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/RollbackException.html" title="class in javax.persistence">RollbackException</A></B></TD><TD>Thrown by the persistence provider when the <A HREF="../../javax/persistence/EntityTransaction.html#commit()"><CODE>EntityTransaction.commit()</CODE></A> fails.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/TransactionRequiredException.html" title="class in javax.persistence">TransactionRequiredException</A></B></TD><TD>Thrown by the persistence provider when a transaction is required but is not active.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Annotation Types Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/AssociationOverride.html" title="annotation in javax.persistence">AssociationOverride</A></B></TD><TD>This annotation is used to override a many-to-one or one-to-one mapping of property or field for an entity relationship.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/AssociationOverrides.html" title="annotation in javax.persistence">AssociationOverrides</A></B></TD><TD>This annotation is used to override mappings of multiple many-to-one or one-to-one relationship properties or fields.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/AttributeOverride.html" title="annotation in javax.persistence">AttributeOverride</A></B></TD><TD>The <code>AttributeOverride</code> annotation is used to override the mapping of a <A HREF="../../javax/persistence/Basic.html" title="annotation in javax.persistence"><CODE>Basic</CODE></A> (whether explicit or default) property or field or Id property or field.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/AttributeOverrides.html" title="annotation in javax.persistence">AttributeOverrides</A></B></TD><TD>Is used to override mappings of multiple properties or fields.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Basic.html" title="annotation in javax.persistence">Basic</A></B></TD><TD>The <code>Basic</code> annotation is the simplest type of mapping to a database column.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Column.html" title="annotation in javax.persistence">Column</A></B></TD><TD>Is used to specify a mapped column for a persistent property or field.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/ColumnResult.html" title="annotation in javax.persistence">ColumnResult</A></B></TD><TD>References name of a column in the SELECT clause of a SQL query - i.e., column alias, if applicable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/DiscriminatorColumn.html" title="annotation in javax.persistence">DiscriminatorColumn</A></B></TD><TD>Is used to define the discriminator column for the <A HREF="../../javax/persistence/InheritanceType.html#SINGLE_TABLE"><CODE>SINGLE_TABLE</CODE></A> and <A HREF="../../javax/persistence/InheritanceType.html#JOINED"><CODE>JOINED</CODE></A> inheritance mapping strategies.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/DiscriminatorValue.html" title="annotation in javax.persistence">DiscriminatorValue</A></B></TD><TD>Is used to specify the value of the discriminator column for entities of the given type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Embeddable.html" title="annotation in javax.persistence">Embeddable</A></B></TD><TD>Defines a class whose instances are stored as an intrinsic part of an owning entity and share the identity of the entity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Embedded.html" title="annotation in javax.persistence">Embedded</A></B></TD><TD>Defines a persistent field or property of an entity whose value is an instance of an embeddable class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/EmbeddedId.html" title="annotation in javax.persistence">EmbeddedId</A></B></TD><TD>Is 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Entity.html" title="annotation in javax.persistence">Entity</A></B></TD><TD>Specifies that the class is an entity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/EntityListeners.html" title="annotation in javax.persistence">EntityListeners</A></B></TD><TD>Specifies the callback listener classes to be used for an entity or mapped superclass.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/EntityResult.html" title="annotation in javax.persistence">EntityResult</A></B></TD><TD>References an entity in the SELECT clause of a SQL query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Enumerated.html" title="annotation in javax.persistence">Enumerated</A></B></TD><TD>Specifies that a persistent property or field should be persisted as a enumerated type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/ExcludeDefaultListeners.html" title="annotation in javax.persistence">ExcludeDefaultListeners</A></B></TD><TD>Specifies that the invocation of default listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/ExcludeSuperclassListeners.html" title="annotation in javax.persistence">ExcludeSuperclassListeners</A></B></TD><TD>Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/FieldResult.html" title="annotation in javax.persistence">FieldResult</A></B></TD><TD>Is used to map the columns specified in the SELECT list of the query to the properties or fields of the entity class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/GeneratedValue.html" title="annotation in javax.persistence">GeneratedValue</A></B></TD><TD>Provides for the specification of generation strategies for the values of primary keys.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Id.html" title="annotation in javax.persistence">Id</A></B></TD><TD>Specifies the primary key property or field of an entity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/IdClass.html" title="annotation in javax.persistence">IdClass</A></B></TD><TD>Specifies a composite primary key class that is mapped to multiple fields or properties of the entity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Inheritance.html" title="annotation in javax.persistence">Inheritance</A></B></TD><TD>Defines the inheritance strategy to be used for an entity class hierarchy.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/JoinColumn.html" title="annotation in javax.persistence">JoinColumn</A></B></TD><TD>Is used to specify a mapped column for joining an entity association.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/JoinColumns.html" title="annotation in javax.persistence">JoinColumns</A></B></TD><TD>Defines mapping for the composite foreign keys.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/JoinTable.html" title="annotation in javax.persistence">JoinTable</A></B></TD><TD>This annotation is used in the mapping of associations.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/Lob.html" title="annotation in javax.persistence">Lob</A></B></TD><TD>Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/ManyToMany.html" title="annotation in javax.persistence">ManyToMany</A></B></TD><TD>Defines a many-valued association with many-to-many multiplicity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/ManyToOne.html" title="annotation in javax.persistence">ManyToOne</A></B></TD><TD>This annotation defines a single-valued association to another entity class that has many-to-one multiplicity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/MapKey.html" title="annotation in javax.persistence">MapKey</A></B></TD><TD>Is used to specify the map key for associations of type <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Map.html" title="class or interface in java.util"><CODE>Map</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/MappedSuperclass.html" title="annotation in javax.persistence">MappedSuperclass</A></B></TD><TD>Designates a class whose mapping information is applied to the entities that inherit from it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/NamedNativeQueries.html" title="annotation in javax.persistence">NamedNativeQueries</A></B></TD><TD>Is used to specify an array of native SQL named queries.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/NamedNativeQuery.html" title="annotation in javax.persistence">NamedNativeQuery</A></B></TD><TD>Is used to specify a native SQL named query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/NamedQueries.html" title="annotation in javax.persistence">NamedQueries</A></B></TD><TD>Specifies an array of named Java Persistence query language queries.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/NamedQuery.html" title="annotation in javax.persistence">NamedQuery</A></B></TD><TD>Is used to specify a named query in the Java Persistence query language, which is a static query expressed in metadata.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/OneToMany.html" title="annotation in javax.persistence">OneToMany</A></B></TD><TD>Defines a many-valued association with one-to-many multiplicity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javax/persistence/OneToOne.html" title="annotation in javax.persistence">OneToOne</A></B></TD><TD>This annotation defines a single-valued association to
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?