how to count size of resultset in OJB

2004-05-20 Thread Zhou, Andrew
Hi guys, I guess this question has been asked by many people. Basically, I'd like get the count(*) from query, that way, I can give user an option if or not user want retrieve everything back. I am wondering if there is any dicussion on this topic before. I'd really appreciate if anyone can

RE: how to count size of resultset in OJB

2004-05-20 Thread Zhou, Andrew
{ this.releasePersistenceBroker( broker ); } --- Charlie Zhou, Andrew said the following on 5/20/2004 11:56 AM: Hi guys, I guess this question has been asked by many people. Basically, I'd like get the count(*) from

OJB EJB on Weblogic using Oracle

2004-05-04 Thread Zhou, Andrew
Hi Guys, Just new to this OJB world. Quite exciting. Well I am trying to create a simple stateless session bean using OJB to do database related work. My environment is as follows, Weblogic 7.2 SP2 OJB 1.0.rc3 Oracle9i So far I can get the object back through OJB, but I get in trouble when I do

RE: OJB EJB on Weblogic using Oracle - PB update problem

2004-05-04 Thread Zhou, Andrew
broker.beginTransaction(); broker.store((Object) proj); broker.commitTransaction(); I can see the data in Cache is updated, but not persist to database at all :-(. Thanks for your help! -Andrew -Original Message- From: Zhou, Andrew Sent: Tuesday, May 04, 2004 8:36 AM To: [EMAIL PROTECTED

RE: OJB EJB on Weblogic using Oracle - PB update problem

2004-05-04 Thread Zhou, Andrew
! -Andrew -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 11:39 AM To: OJB Users List Subject: Re: OJB EJB on Weblogic using Oracle - PB update problem Hi Andrew, Zhou, Andrew wrote: Now I strip out all logic from EJB session bean

RE: OJB EJB on Weblogic using Oracle - PB update problem

2004-05-04 Thread Zhou, Andrew
One more find, I am doing a silly update, the field I try to update is not even configured in repository-.xml! That is why it never get committed to database! -Original Message- From: Zhou, Andrew Sent: Tuesday, May 04, 2004 12:08 PM To: OJB Users List Subject: RE: OJB EJB