[HHH-1561] Missing " in Documentation for H3, Chapter 15.8

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@12727 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Diego Plentz 2007-07-04 06:18:11 +00:00
parent 39445e07d3
commit 3b9fc55ee4
7 changed files with 14 additions and 14 deletions

View File

@ -356,7 +356,7 @@ session.close();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)
.setProjection( Property.forName("weight").avg() ); .setProjection( Property.forName("weight").avg() );
session.createCriteria(Cat.class) session.createCriteria(Cat.class)
.add( Property.forName("weight).gt(avgWeight) ) .add( Property.forName("weight").gt(avgWeight) )
.list();]]></programlisting> .list();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)
@ -373,7 +373,7 @@ session.createCriteria(Cat.class)
.setProjection( Property.forName("weight").avg() ) .setProjection( Property.forName("weight").avg() )
.add( Property.forName("cat2.sex").eqProperty("cat.sex") ); .add( Property.forName("cat2.sex").eqProperty("cat.sex") );
session.createCriteria(Cat.class, "cat") session.createCriteria(Cat.class, "cat")
.add( Property.forName("weight).gt(avgWeightForSex) ) .add( Property.forName("weight").gt(avgWeightForSex) )
.list();]]></programlisting> .list();]]></programlisting>
</sect1> </sect1>

View File

@ -351,7 +351,7 @@ session.close();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)
.setProjection( Property.forName("weight").avg() ); .setProjection( Property.forName("weight").avg() );
session.createCriteria(Cat.class) session.createCriteria(Cat.class)
.add( Property.forName("weight).gt(avgWeight) ) .add( Property.forName("weight").gt(avgWeight) )
.list();]]></programlisting> .list();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)
@ -368,7 +368,7 @@ session.createCriteria(Cat.class)
.setProjection( Property.forName("weight").avg() ) .setProjection( Property.forName("weight").avg() )
.add( Property.forName("cat2.sex").eqProperty("cat.sex") ); .add( Property.forName("cat2.sex").eqProperty("cat.sex") );
session.createCriteria(Cat.class, "cat") session.createCriteria(Cat.class, "cat")
.add( Property.forName("weight).gt(avgWeightForSex) ) .add( Property.forName("weight").gt(avgWeightForSex) )
.list();]]></programlisting> .list();]]></programlisting>
</sect1> </sect1>

View File

@ -362,7 +362,7 @@ session.close();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)
.setProjection( Property.forName("weight").avg() ); .setProjection( Property.forName("weight").avg() );
session.createCriteria(Cat.class) session.createCriteria(Cat.class)
.add( Property.forName("weight).gt(avgWeight) ) .add( Property.forName("weight").gt(avgWeight) )
.list();]]></programlisting> .list();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)
@ -379,7 +379,7 @@ session.createCriteria(Cat.class)
.setProjection( Property.forName("weight").avg() ) .setProjection( Property.forName("weight").avg() )
.add( Property.forName("cat2.sex").eqProperty("cat.sex") ); .add( Property.forName("cat2.sex").eqProperty("cat.sex") );
session.createCriteria(Cat.class, "cat") session.createCriteria(Cat.class, "cat")
.add( Property.forName("weight).gt(avgWeightForSex) ) .add( Property.forName("weight").gt(avgWeightForSex) )
.list();]]></programlisting> .list();]]></programlisting>
</sect1> </sect1>

View File

@ -364,7 +364,7 @@ session.close();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)
.setProjection( Property.forName("weight").avg() ); .setProjection( Property.forName("weight").avg() );
session.createCriteria(Cat.class) session.createCriteria(Cat.class)
.add( Property.forName("weight).gt(avgWeight) ) .add( Property.forName("weight").gt(avgWeight) )
.list();]]></programlisting> .list();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)
@ -381,7 +381,7 @@ session.createCriteria(Cat.class)
.setProjection( Property.forName("weight").avg() ) .setProjection( Property.forName("weight").avg() )
.add( Property.forName("cat2.sex").eqProperty("cat.sex") ); .add( Property.forName("cat2.sex").eqProperty("cat.sex") );
session.createCriteria(Cat.class, "cat") session.createCriteria(Cat.class, "cat")
.add( Property.forName("weight).gt(avgWeightForSex) ) .add( Property.forName("weight").gt(avgWeightForSex) )
.list();]]></programlisting> .list();]]></programlisting>
</sect1> </sect1>

View File

@ -342,7 +342,7 @@ session.close();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)
.setProjection( Property.forName("weight").avg() ); .setProjection( Property.forName("weight").avg() );
session.createCriteria(Cat.class) session.createCriteria(Cat.class)
.add( Property.forName("weight).gt(avgWeight) ) .add( Property.forName("weight").gt(avgWeight) )
.list();]]></programlisting> .list();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)
@ -359,7 +359,7 @@ session.createCriteria(Cat.class)
.setProjection( Property.forName("weight").avg() ) .setProjection( Property.forName("weight").avg() )
.add( Property.forName("cat2.sex").eqProperty("cat.sex") ); .add( Property.forName("cat2.sex").eqProperty("cat.sex") );
session.createCriteria(Cat.class, "cat") session.createCriteria(Cat.class, "cat")
.add( Property.forName("weight).gt(avgWeightForSex) ) .add( Property.forName("weight").gt(avgWeightForSex) )
.list();]]></programlisting> .list();]]></programlisting>
</sect1> </sect1>

View File

@ -356,7 +356,7 @@ session.close();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)
.setProjection( Property.forName("weight").avg() ); .setProjection( Property.forName("weight").avg() );
session.createCriteria(Cat.class) session.createCriteria(Cat.class)
.add( Property.forName("weight).gt(avgWeight) ) .add( Property.forName("weight").gt(avgWeight) )
.list();]]></programlisting> .list();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)
@ -373,7 +373,7 @@ session.createCriteria(Cat.class)
.setProjection( Property.forName("weight").avg() ) .setProjection( Property.forName("weight").avg() )
.add( Property.forName("cat2.sex").eqProperty("cat.sex") ); .add( Property.forName("cat2.sex").eqProperty("cat.sex") );
session.createCriteria(Cat.class, "cat") session.createCriteria(Cat.class, "cat")
.add( Property.forName("weight).gt(avgWeightForSex) ) .add( Property.forName("weight").gt(avgWeightForSex) )
.list();]]></programlisting> .list();]]></programlisting>
</sect1> </sect1>

View File

@ -347,7 +347,7 @@ session.close();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)
.setProjection( Property.forName("weight").avg() ); .setProjection( Property.forName("weight").avg() );
session.createCriteria(Cat.class) session.createCriteria(Cat.class)
.add( Property.forName("weight).gt(avgWeight) ) .add( Property.forName("weight").gt(avgWeight) )
.list();]]></programlisting> .list();]]></programlisting>
<programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class) <programlisting><![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)
@ -364,7 +364,7 @@ session.createCriteria(Cat.class)
.setProjection( Property.forName("weight").avg() ) .setProjection( Property.forName("weight").avg() )
.add( Property.forName("cat2.sex").eqProperty("cat.sex") ); .add( Property.forName("cat2.sex").eqProperty("cat.sex") );
session.createCriteria(Cat.class, "cat") session.createCriteria(Cat.class, "cat")
.add( Property.forName("weight).gt(avgWeightForSex) ) .add( Property.forName("weight").gt(avgWeightForSex) )
.list();]]></programlisting> .list();]]></programlisting>
</sect1> </sect1>