[jboss-cvs] JBossAS SVN: r90111 - projects/docs/enterprise/4.3.5/readme/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jun 12 00:57:51 EDT 2009


Author: irooskov at redhat.com
Date: 2009-06-12 00:57:50 -0400 (Fri, 12 Jun 2009)
New Revision: 90111

Modified:
   projects/docs/enterprise/4.3.5/readme/en-US/Release_Notes_CP05.xml
Log:
updated release notes with new hibernate ann JIRAs


Modified: projects/docs/enterprise/4.3.5/readme/en-US/Release_Notes_CP05.xml
===================================================================
--- projects/docs/enterprise/4.3.5/readme/en-US/Release_Notes_CP05.xml	2009-06-12 02:17:06 UTC (rev 90110)
+++ projects/docs/enterprise/4.3.5/readme/en-US/Release_Notes_CP05.xml	2009-06-12 04:57:50 UTC (rev 90111)
@@ -896,6 +896,16 @@
 									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-701">ANN-701</ulink>: The error message given when using the <property>@CollectionId</property> property incorrectly did not give useful information to the user. Correcting this, the <filename>CollectionBinder.java</filename> file has been updated to generate an exception with all relevant information given the improper use of the <property>@CollectionId</property> property for individual cases.
 								</para>
 							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-700">ANN-700</ulink>: The <classname>NamedQuery</classname> class of Hibernate had the <property>flushMode</property> attribute set to <property>AUTO</property> by default. This caused inconsistencies throught the program and the <property>flushMode</property> attribute to never contain the correct value. To correct this the default value of the <property>flushMode</property> attribute is now set to a newly introduced <property>PERSISTENCE_CONTEXT</property>. This new value makes sure that the <property>flushMode</property> is consistent with the persistence context at the time the query is executed, alleviating inconsistency issues.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-699">ANN-699</ulink>: The <methodname>AnnotationBinder.mustBeSkipped</methodname> contains a hardcoded reference to the <classname>org.hibernate.tool.instrument.javassist.FieldHandler</classname> class. The issue that arises from this is that the class is actually contained within a different package and by having the incorrect reference it caused all <classname>javassist-instrumented</classname> classes to not function correctly. In order to rectify this issue the reference to the <classname>FieldHandler</classname> class has been changed within the <methodname>AnnotationBinder.mustBeSkipped</methodname> method to be <classname>org.hibernate.bytecode.javassist.FieldHandler</classname>.
+								</para>
+							</listitem>
 						<!--	<listitem>
 								<para>
 									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-698">ANN-698</ulink>: 
@@ -908,11 +918,21 @@
 							</listitem>
 							<listitem>
 								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-695">ANN-695</ulink>: New Hibernate Search collection even listeners have been inegrated with the addition of the new classes <classname>CollectionSearchConfiguration</classname> and <classname>SearchConfiguration</classname>, and the ammendment of the <classname>AnnotationConfiguration</classname> class to use the new <classname>SearchConfiguration</classname> class instead of embedding the search functionality within the <classname>AnnotationConfiguration</classname>.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
 									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-694">ANN-694</ulink>: An incorrect report of a Foreign Key circularity error was occuring when the <property>@*ToOne</property> property name started with the identifier property name. The issue has been fixed by modifying the <filename>ToOneFkSecondPass.java</filename> file to make the <methodname>ToOneFkSecondPass</methodname> method a public method.
 								</para>
 							</listitem>
 							<listitem>
 								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-690">ANN-690</ulink>: Previous releases did not allow for method chaining within the <classname>AnnotationConfiguration</classname> class. This functionality has now been added by overriding all relevant configuration methods that reside within the <classname>AnnotationConfiguration</classname> class.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
 									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-683">ANN-683</ulink>: When <property>hashCode</property> collisions occurred within <classname>AnnotationConfiguration</classname>, random binding failures would occur. To fix this issue, the <filename>FkSecondPass.java</filename> file has been updated to use a unique counter in order to differenciate between two instances of <classname>FkSecondPass</classname> so that they can be compared as the IBM VM would sometimes return the same <varname>hashCode</varname> for two different objects. The <filename>AnnotationConfiguration.java</filename> file has also been updated to utilize the changes made to <filename>FkSecondPass.java</filename>.
 								</para>
 							</listitem>
@@ -933,6 +953,41 @@
 							</listitem>
 							<listitem>
 								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-650">ANN-650</ulink>: In previous versions the <classname>@Version</classname> class could be set withih an <classname>@Embedded</classname> class without any checking and generate a <exceptionname>java.lang.ArrayIndexOutOfBoundsException</exceptionname> that would not display enough detail about the error for a user to understand the cause. This has since be altered to check for this occurance and generate an <exceptionname>AnnotationException</exceptionname> with useful information so that a user can correct any issues.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-621">ANN-621</ulink>: A problem was being caused by the embedded primary key for <classname>ManyToOne</classname> associates containing only transient member variables. This was corrected by adding <property>getter</property> and <property>setter</property> accessors for the respective ID fields and setting both <property>insertable</property> and <property>updatable</property> properties to false.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-619">ANN-619</ulink>: When <classname>@OneToOne</classname> was placed within a composite key, the Hibernate application would generate an <exceptionname>ExceptionInInitializerError</exceptionname>. This has been fixed by recoding how a user application that does not use a true <classname>OneToOne</classname> relationshipis tested.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-617">ANN-617</ulink>: A <exceptionname>NullPointerException</exceptionname> would occur when a property of a composite ID would be used for ordering. This bug has been fixed by modifying the <classname>CollectionBinder</classname> class to check if the <classname>PersistentClass</classname> is null before checking if it is not an <property>associatedClass</property>.
+							</para>
+							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-613">ANN-613</ulink>: A <exceptionname>NullPointerException</exceptionname> would be generated when the <property>mappedBy</property> property was incorrect in a <classname>@OneToOne</classname> mapping. In order to make sure a <exceptionname>NullPointerException</exceptionname> does not occur, when the <property>otherSideProperty</property> parameter contains a null vale within the <classname>OneToOneSecondPass</classname> class, an <exceptionname>AnnotationException</exceptionname> is generated detailing that the <property>mappedBy</property> property is incorrect and where.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-608">ANN-608</ulink>: A bug existed within the <classname>EJB3OverridenAnnotationReader</classname> class where the <classname>annotationsMap</classname> would not be correctly initialized, causing a <exceptionname>NullPointerException</exceptionname> in the <classname>AnnotationConfiguration</classname> class. The issue has been fixed by modifying the <filename>EJB3OverridenAnnotationReader.java</filename> file to remove an internal <classname>Annotation</classname> <code>for</code> loop and replace it with the code <code>annotationsMap = new HashMap&lt;Class, Annotation&gt;( annotations.length + 5 );</code> instead. This change now allows for the <classname>annotationsMap</classname> to be correctly initialized.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-602">ANN-602</ulink>: Any <classname>SecondaryTable</classname> with an <classname>EmbeddedId</classname> or <classname>IdClass</classname> containing a <property>ManyToOne</property> attribute would error. In order to fix this a new <classname>SecondaryTableSecondPass</classname> class has been created and the <classname>AnnotationConfiguration</classname> and <classname>AnnotationBinder</classname> classes have been updated to make use of the new class since associations can be built on joins. Implementing these changes causes the <classname>SecondaryTable</classname> class to behave as a user would expect.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
 									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-590">ANN-590</ulink>: An alphabetical ordering issue caused errors when the <property>@ManyToOne</property> and <property>referencedColumnName</property> properties were being used in the <classname>PrimaryKey</classname>. To correct this the <filename>ToOneFkSecondPass.java</filename> file was updated to try using an embedded property for a <classname>persistentClass</classname>.
 								</para>
 							</listitem>
@@ -941,6 +996,16 @@
 									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-509">ANN-509</ulink>: Using a foreign key value for the <property>referecedColumnName</property> value would cause a <exceptionname>MappingException</exceptionname> to occur. The reason for this issue has stemed through the need for correct ordering of steps and to fix this a <classname>RecoverableException</classname> class has been created which is used to catch the exception and allow the program to perform passes to assist in correcting the issue. If however this is unsuccessful then the loop is exited and the original exception is displayed to the user.
 								</para>
 							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-442">ANN-442</ulink>: Support for more than one generic generator in the <filename>package-info.java</filename> file has been added by adding the new <classname>GenericGenerators</classname> interface, and updating the <classname>AnnotationBinder</classname> to incorporate the use of the new interface.
+								</para>
+							</listitem>
+							<listitem>
+								<para>
+									<ulink url="http://opensource.atlassian.com/projects/hibernate/browse/ANN-434">ANN-434</ulink>:  The exception that was generated when attempting to create an entity with an <classname>EmbeddedId</classname> and automatically generated IDs did not give useful information to a user. This has been corrected by modifying the <classname>AnnotationBinder</classname> class to generate an <exceptionname>AnnotationException</exceptionname> that outputs the class name of the component with information explaining that this class must not have <classname>ID</classname> properties when used as an <classname>EmbeddedID</classname>.
+								</para>
+							</listitem>
 						</itemizedlist>
 					</listitem>
 				<!--	<listitem>




More information about the jboss-cvs-commits mailing list