big difference between those versions is that in one count queries
return integer and in another longs

-igor

On 11/14/07, Yevgeni Kovelman <[EMAIL PROTECTED]> wrote:
> The problem is that behavior changes when I switch underlying frameworks.
> If I use Hibernate 3.0.5 things work the way they are , however if I use
> Hibernate 3.1/3.2, the error below appears.  FYI, I am using the same code
> that's in the wicket-phonebook example application(uses hibernate 3.0.5)
>
> Gene
>
> -----Original Message-----
> From: Johan Compagner [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 14, 2007 2:05 AM
> To: users@wicket.apache.org
> Subject: Re: framework dependencies
>
> do you see that stacktrace when you render that particular page for the
> first time?
> or is it maybe that you see it when you render it for the second or more
> time?
> Maybe, this is just a guess, you don't detach something and are asking next
> again on a next request
> so you are holding on to an object over request
>
> johan
>
>
>
> On Nov 14, 2007 7:23 AM, Yevgeni Kovelman <[EMAIL PROTECTED]> wrote:
>
> > Hello everyone,
> >
> >
> >
> > I have been using wicket 1.2.6 with Spring and hibernate for the past
> > month
> > or so.  Seems like a standard configuration.  So to summarize here is my
> > configuration that used to work:
> >
> >
> >
> > 1.       Wicket 1.2.6
> >
> > 2.       Wicket-extensions 1.2.6
> >
> > 3.       Wicket-spring 1.2.6
> >
> > 4.       Spring 2.0.6
> >
> > 5.       Hibernate 3
> >
> >
> >
> > This configuration used to work, today it stopped after I tried to rework
> > the dependencies on my end.  I am getting errors such as below.
> >
> > I think this is dependency related, and I am not sure at this point what
> > got
> > screwed up.  Has anyone seen this?  Thanks
> >
> >
> >
> > java.sql.SQLException: Closed Resultset: next
> >     at
> > oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
> >     at
> > oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
> >     at
> > oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:175)
> >     at
> > org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java
> > :16
> > 9)
> >     at org.hibernate.impl.IteratorImpl.postNext(IteratorImpl.java:83)
> >     at org.hibernate.impl.IteratorImpl.next(IteratorImpl.java:120)
> >     at
> >
> >
> wicket.extensions.markup.html.repeater.data.DataViewBase$ModelIterator.next
> > (
> > DataViewBase.java:129)
> >     at
> >
> >
> wicket.extensions.markup.html.repeater.pageable.AbstractPageableView$CappedI
> > teratorAdapter.next(AbstractPageableView.java:386)
> >     at
> >
> >
> wicket.extensions.markup.html.repeater.refreshing.DefaultItemReuseStrategy$1
> > .next(DefaultItemReuseStrategy.java:71)
> >     at
> > wicket.extensions.markup.html.repeater.refreshing.RefreshingView.addItems
> > (Re
> > freshingView.java:191)
> >     at
> >
> >
> wicket.extensions.markup.html.repeater.refreshing.RefreshingView.internalOnA
> > ttach(RefreshingView.java:117)
> >     at wicket.Component.internalAttach(Component.java:2572)
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to