Minor
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@8053 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
c2fc9ba508
commit
27b322a320
|
@ -312,7 +312,7 @@ while ( kittensAndMothers.hasNext() ) {
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="objectstate-querying-executing-scalar">
|
<sect3 id="objectstate-querying-executing-scalar" revision="1">
|
||||||
<title>Scalar results</title>
|
<title>Scalar results</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -328,7 +328,7 @@ while ( kittensAndMothers.hasNext() ) {
|
||||||
.iterator();
|
.iterator();
|
||||||
|
|
||||||
while ( results.hasNext() ) {
|
while ( results.hasNext() ) {
|
||||||
Object[] row = results.next();
|
Object[] row = (Object[]) results.next();
|
||||||
Color type = (Color) row[0];
|
Color type = (Color) row[0];
|
||||||
Date oldest = (Date) row[1];
|
Date oldest = (Date) row[1];
|
||||||
Integer count = (Integer) row[2];
|
Integer count = (Integer) row[2];
|
||||||
|
|
Loading…
Reference in New Issue