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 id="objectstate-querying-executing-scalar">
|
||||
<sect3 id="objectstate-querying-executing-scalar" revision="1">
|
||||
<title>Scalar results</title>
|
||||
|
||||
<para>
|
||||
|
@ -328,7 +328,7 @@ while ( kittensAndMothers.hasNext() ) {
|
|||
.iterator();
|
||||
|
||||
while ( results.hasNext() ) {
|
||||
Object[] row = results.next();
|
||||
Object[] row = (Object[]) results.next();
|
||||
Color type = (Color) row[0];
|
||||
Date oldest = (Date) row[1];
|
||||
Integer count = (Integer) row[2];
|
||||
|
|
Loading…
Reference in New Issue