[hibernate-commits] Hibernate SVN: r10561 - in trunk/HibernateExt: ejb ejb/doc/reference/en ejb/doc/reference/en/modules ejb/lib ejb/src/java/org/hibernate/ejb metadata metadata/doc/reference/en metadata/doc/reference/en/modules metadata/src/java/org/hibernate/cfg/annotations

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Oct 5 02:05:24 EDT 2006


Author: epbernard
Date: 2006-10-05 02:05:16 -0400 (Thu, 05 Oct 2006)
New Revision: 10561

Modified:
   trunk/HibernateExt/ejb/build.xml
   trunk/HibernateExt/ejb/changelog.txt
   trunk/HibernateExt/ejb/doc/reference/en/master.xml
   trunk/HibernateExt/ejb/doc/reference/en/modules/configuration.xml
   trunk/HibernateExt/ejb/lib/hibernate-annotations.jar
   trunk/HibernateExt/ejb/readme.txt
   trunk/HibernateExt/ejb/src/java/org/hibernate/ejb/Version.java
   trunk/HibernateExt/metadata/build.xml
   trunk/HibernateExt/metadata/changelog.txt
   trunk/HibernateExt/metadata/doc/reference/en/master.xml
   trunk/HibernateExt/metadata/doc/reference/en/modules/entity.xml
   trunk/HibernateExt/metadata/doc/reference/en/modules/setup.xml
   trunk/HibernateExt/metadata/readme.txt
   trunk/HibernateExt/metadata/src/java/org/hibernate/cfg/annotations/Version.java
Log:
release

Modified: trunk/HibernateExt/ejb/build.xml
===================================================================
--- trunk/HibernateExt/ejb/build.xml	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/ejb/build.xml	2006-10-05 06:05:16 UTC (rev 10561)
@@ -16,7 +16,7 @@
     <!-- Name of project and version, used to create filenames -->
     <property name="Name" value="Hibernate EntityManager"/>
     <property name="name" value="hibernate-entitymanager"/>
-    <property name="version" value="3.2.0.CR2"/>
+    <property name="version" value="3.2.0.CR3"/>
     <property name="javadoc.packagenames" value="org.hibernate.ejb.*"/>
     <property name="jdbc.dir" value="jdbc"/>
     <property name="copy.test" value="true"/>

Modified: trunk/HibernateExt/ejb/changelog.txt
===================================================================
--- trunk/HibernateExt/ejb/changelog.txt	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/ejb/changelog.txt	2006-10-05 06:05:16 UTC (rev 10561)
@@ -1,6 +1,18 @@
 Hibernate EntityManager Changelog
 ==================================
 
+3.2.0.CR3 (4-10-2006)
+----------------------
+** Bug
+    * [EJB-150] - JarVisitor.addElement does not close passed input streams
+    * [EJB-221] - TransientObjectException with FetchType.LAZY on @ManyToOne and field access on target entity
+    * [EJB-231] - Optimistic locking exception could lead to java.lang.IllegalArgumentException: id to load is required for loading
+
+
+** Improvement
+    * [EJB-234] - Inefficiency during the flush operation
+
+
 3.2.0.CR2 (16-09-2006)
 ----------------------
 ** Bug

Modified: trunk/HibernateExt/ejb/doc/reference/en/master.xml
===================================================================
--- trunk/HibernateExt/ejb/doc/reference/en/master.xml	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/ejb/doc/reference/en/master.xml	2006-10-05 06:05:16 UTC (rev 10561)
@@ -16,7 +16,7 @@
 
     <subtitle>User guide</subtitle>
 
-    <releaseinfo>3.2.0 CR2</releaseinfo>
+    <releaseinfo>3.2.0 CR3</releaseinfo>
 
     <mediaobject>
       <imageobject>

Modified: trunk/HibernateExt/ejb/doc/reference/en/modules/configuration.xml
===================================================================
--- trunk/HibernateExt/ejb/doc/reference/en/modules/configuration.xml	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/ejb/doc/reference/en/modules/configuration.xml	2006-10-05 06:05:16 UTC (rev 10561)
@@ -8,8 +8,8 @@
     <para>The EJB 3.0 / JPA compatible Hibernate EntityManager is built on top
     of Hibernate core and Hibernate Annotations. You have to use compatible
     versions of each module. This version is known to work on Hibernate Core
-    3.2.0.CR4 (and 3.2.0.GA at the time of writing) and Hibernate Annotations
-    3.2.0.CR2. The following libraries have to be in your classpath:
+    3.2.0.CR5 (and 3.2.0.GA at the time of writing) and Hibernate Annotations
+    3.2.0.CR3. The following libraries have to be in your classpath:
     hibernate3.jar, hibernate-annotations.jar, hibernate-entitymanager.jar and
     all needed third party libraries for each package.(incl.
     ejb-persistence.jar).</para>

Modified: trunk/HibernateExt/ejb/lib/hibernate-annotations.jar
===================================================================
(Binary files differ)

Modified: trunk/HibernateExt/ejb/readme.txt
===================================================================
--- trunk/HibernateExt/ejb/readme.txt	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/ejb/readme.txt	2006-10-05 06:05:16 UTC (rev 10561)
@@ -1,8 +1,8 @@
 Hibernate EntityManager
 ==================================================
-Version: 3.2.0.CR2, 16.09.2006
+Version: 3.2.0.CR3, 4.10.2006
 
-THIS RELEASE OF HIBERNATE ENTITYMANAGER REQUIRES HIBERNATE CORE 3.2.0.CR4 AND 
+THIS RELEASE OF HIBERNATE ENTITYMANAGER REQUIRES HIBERNATE CORE 3.2.0.CR5 AND 
 DOES NOT WORK WITH HIBERNATE 3.1.x OR ANY OLDER VERSION OF HIBERNATE.
 
 

Modified: trunk/HibernateExt/ejb/src/java/org/hibernate/ejb/Version.java
===================================================================
--- trunk/HibernateExt/ejb/src/java/org/hibernate/ejb/Version.java	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/ejb/src/java/org/hibernate/ejb/Version.java	2006-10-05 06:05:16 UTC (rev 10561)
@@ -8,7 +8,7 @@
  * @author Emmanuel Bernard
  */
 public class Version {
-	public static final String VERSION = "3.2.0.CR2";
+	public static final String VERSION = "3.2.0.CR3";
 	private static Log log = LogFactory.getLog( Version.class );
 
 	static {

Modified: trunk/HibernateExt/metadata/build.xml
===================================================================
--- trunk/HibernateExt/metadata/build.xml	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/metadata/build.xml	2006-10-05 06:05:16 UTC (rev 10561)
@@ -16,7 +16,7 @@
     <!-- Name of project and version, used to create filenames -->
     <property name="Name" value="Hibernate Annotations"/>
     <property name="name" value="hibernate-annotations"/>
-    <property name="version" value="3.2.0.CR2"/>
+    <property name="version" value="3.2.0.CR3"/>
     <property name="javadoc.packagenames" value="org.hibernate.*"/>
 	<property name="jdbc.dir" value="jdbc"/>
     <property name="copy.test" value="true"/>

Modified: trunk/HibernateExt/metadata/changelog.txt
===================================================================
--- trunk/HibernateExt/metadata/changelog.txt	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/metadata/changelog.txt	2006-10-05 06:05:16 UTC (rev 10561)
@@ -1,6 +1,20 @@
 Hibernate Annotations Changelog
 ===============================
 
+3.2.0.CR3 (04-10-2006)
+----------------------
+** Bug
+    * [ANN-408] - map a entity to integer map is not possible
+
+
+** Improvement
+    * [ANN-346] - Introduce @FilterJoinTable to complete @Filter on association involving a join table
+    * [ANN-447] - Introduce @WhereJoinTable to complete @Where on association involving a join table
+
+** New Feature
+    * [ANN-443] - Define a hibernate.validator.interpolator_class
+
+
 3.2.0.CR2 (16-09-2006)
 ----------------------
 ** Bug

Modified: trunk/HibernateExt/metadata/doc/reference/en/master.xml
===================================================================
--- trunk/HibernateExt/metadata/doc/reference/en/master.xml	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/metadata/doc/reference/en/master.xml	2006-10-05 06:05:16 UTC (rev 10561)
@@ -13,7 +13,7 @@
 
     <subtitle>Reference Guide</subtitle>
 
-    <releaseinfo>3.2.0 CR2</releaseinfo>
+    <releaseinfo>3.2.0 CR3</releaseinfo>
 
     <mediaobject>
       <imageobject>

Modified: trunk/HibernateExt/metadata/doc/reference/en/modules/entity.xml
===================================================================
--- trunk/HibernateExt/metadata/doc/reference/en/modules/entity.xml	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/metadata/doc/reference/en/modules/entity.xml	2006-10-05 06:05:16 UTC (rev 10561)
@@ -2797,7 +2797,7 @@
     <sect2 id="entity-hibspec-collection" revision="2">
       <title>Collection related annotations</title>
 
-      <sect3 id="entity-hibspec-collection-enhance" revision="1">
+      <sect3 id="entity-hibspec-collection-enhance" revision="2">
         <title>Enhance collection settings</title>
 
         <para>It is possible to set <itemizedlist>
@@ -2806,7 +2806,7 @@
             </listitem>
 
             <listitem>
-               the where clause, using @Where 
+               the where clause, using @Where (applied on the target entity) or @WhereJoinTable (applied on the association table)
             </listitem>
 
             <listitem>
@@ -3201,20 +3201,22 @@
       </programlistingco>
     </sect2>
 
-    <sect2>
+    <sect2 id="entity-hibspec-filters">
       <title>Filters</title>
 
-      <para>Hibernate has the notion of data filter that can be applied at
-      runtime on a given session. Those filters has to be defined
-      first.</para>
+      <para>Hibernate has the ability to apply arbitrary filters on top of
+      your data. Those filters are applied at runtime on a given session.
+      First, you need to define them.</para>
 
       <para><literal>@org.hibernate.annotations.FilterDef</literal> or
       <literal>@FilterDefs</literal> define filter definition(s) used by
       filter(s) using the same name. A filter definition has a name() and an
-      array of parameters(). A <literal>@ParamDef</literal> has a name and a
-      type. You can also define a defaultCondition() parameter for a given
-      <literal>@filterDef</literal> to set the default condition to use when
-      none are defined in the <literal>@Filter</literal>. A
+      array of parameters(). A parameter will allow you to adjust the behavior
+      of the filter at runtime. Each parameter is defined by a
+      <literal>@ParamDef</literal> which has a name and a type. You can also
+      define a defaultCondition() parameter for a given
+      <literal>@FilterDef</literal> to set the default condition to use when
+      none are defined in each individual <literal>@Filter</literal>. A
       <literal>@FilterDef</literal>(s) can be defined at the class or package
       level.</para>
 
@@ -3229,6 +3231,22 @@
     @Filter(name="minLength", condition=":minLength &lt;= length")
 } )
 public class Forest { ... }</programlisting></para>
+
+      <para>When the collection use an association table as a relational
+      representation, you might want to apply the filter condition to the
+      association table itself or to the target entity table. To apply the
+      constraint on the target entity, use the regular
+      <literal>@Filter</literal> annotation. However, if you wan to target the
+      association table, use the <literal>@FilterJoinTable</literal>
+      annotation.</para>
+
+      <programlisting>    @OneToMany
+    @JoinTable
+    //filter on the target entity table
+    @Filter(name="betweenLength", condition=":minLength &lt;= length and :maxLength &gt;= length")
+    //filter on the association table
+    @FilterJoinTable(name="security", condition=":userlevel &gt;= requredLevel")
+    public Set&lt;Forest&gt; getForests() { ... }</programlisting>
     </sect2>
 
     <sect2 id="entity-hibspec-query">

Modified: trunk/HibernateExt/metadata/doc/reference/en/modules/setup.xml
===================================================================
--- trunk/HibernateExt/metadata/doc/reference/en/modules/setup.xml	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/metadata/doc/reference/en/modules/setup.xml	2006-10-05 06:05:16 UTC (rev 10561)
@@ -12,13 +12,13 @@
       </listitem>
 
       <listitem>
-        <para><emphasis>This release requires Hibernate 3.2.0.CR4 and above.
+        <para><emphasis>This release requires Hibernate 3.2.0.CR5 and above.
         Do not use this release of Hibernate Annotations with an older version
         of Hibernate 3.x!</emphasis></para>
       </listitem>
 
       <listitem>
-        <para>This release is known to work on Hibernate core 3.2.0.CR4 and is
+        <para>This release is known to work on Hibernate core 3.2.0.CR5 and is
         expected (at the time of writing) to work on Hibernate Core
         3.2.0.GA</para>
       </listitem>

Modified: trunk/HibernateExt/metadata/readme.txt
===================================================================
--- trunk/HibernateExt/metadata/readme.txt	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/metadata/readme.txt	2006-10-05 06:05:16 UTC (rev 10561)
@@ -1,8 +1,8 @@
 Hibernate Annotations
 ==================================================
-Version: 3.2.0 CR2, 16.09.2006
+Version: 3.2.0 CR3, 4.10.2006
 
-THIS RELEASE OF HIBERNATE ANNOTATIONS REQUIRES HIBERNATE CORE 3.2.0.CR4 AND DOES NOT 
+THIS RELEASE OF HIBERNATE ANNOTATIONS REQUIRES HIBERNATE CORE 3.2.0.CR5 AND DOES NOT 
 WORK WITH HIBERNATE 3.1.x OR ANY OLDER VERSION OF HIBERNATE.
 
 

Modified: trunk/HibernateExt/metadata/src/java/org/hibernate/cfg/annotations/Version.java
===================================================================
--- trunk/HibernateExt/metadata/src/java/org/hibernate/cfg/annotations/Version.java	2006-10-05 02:35:20 UTC (rev 10560)
+++ trunk/HibernateExt/metadata/src/java/org/hibernate/cfg/annotations/Version.java	2006-10-05 06:05:16 UTC (rev 10561)
@@ -8,7 +8,7 @@
  * @author Emmanuel Bernard
  */
 public class Version {
-	public static final String VERSION = "3.2.0.CR2";
+	public static final String VERSION = "3.2.0.CR3";
 	private static Log log = LogFactory.getLog( Version.class );
 
 	static {




More information about the hibernate-commits mailing list