From hibernate-commits at lists.jboss.org Mon Mar 8 11:40:45 2010 Content-Type: multipart/mixed; boundary="===============9041883476239577928==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r18932 - core/trunk/annotations/src/main/docbook/en/modules. Date: Mon, 08 Mar 2010 11:40:45 -0500 Message-ID: <201003081640.o28GejwM013165@svn01.web.mwc.hst.phx2.redhat.com> --===============9041883476239577928== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hardy.ferentschik Date: 2010-03-08 11:40:44 -0500 (Mon, 08 Mar 2010) New Revision: 18932 Modified: core/trunk/annotations/src/main/docbook/en/modules/entity.xml Log: HHH-4933 fixed some minor typos Modified: core/trunk/annotations/src/main/docbook/en/modules/entity.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- core/trunk/annotations/src/main/docbook/en/modules/entity.xml 2010-03-0= 5 22:22:05 UTC (rev 18931) +++ core/trunk/annotations/src/main/docbook/en/modules/entity.xml 2010-03-0= 8 16:40:44 UTC (rev 18932) @@ -617,34 +617,32 @@ Non-annotated property defaults = If a property is not annotated, the following rules - apply: + apply: + + If the property is of a single type, it is mapped as + @Basic + = - - - If the property is of a single type, it is mapped as - @Basic - + + Otherwise, if the type of the property is annotated as + @Embeddable, it is mapped as @Embedded + = - - Otherwise, if the type of the property is annotated as - @Embeddable, it is mapped as @Embedded - + + Otherwise, if the type of the property is + Serializable, it is mapped as + @Basic in a column holding the object= in + its serialized version + = - - Otherwise, if the type of the property is - Serializable, it is mapped as - @Basic in a column holding the object in - its serialized version - - - - Otherwise, if the type of the property is - java.sql.Clob or - java.sql.Blob, it is mapped as - @Lob with the appropriate - LobType - - + + Otherwise, if the type of the property is + java.sql.Clob or + java.sql.Blob, it is mapped as + @Lob with the appropriate + LobType + + = @@ -746,7 +744,7 @@ = If JPA XML (like META-INF/orm.xml) is u= sed - to define thegenerators, EMP_GEN and + to define the generators, EMP_GEN and SEQ_GEN are application level generators. EMP_GEN defines a table based id generator using the hilo algorithm with a max_lo of 20. The hi @@ -1005,7 +1003,7 @@
Multiple @Id properties = - Another arguably more natural) approach is to place + Another, arguably more natural, approach is to place @Id on multiple properties of my entity. = This approach is only supported by Hibernate but does not require an extra embeddable component. --===============9041883476239577928==--