Re: return two CachedRowSet

2002-09-24 Thread Albert Pi
Rich: I am sorry, I didn't make clear. Because I want him ( [EMAIL PROTECTED]) to ask me "How". You are right. Thank you. Albert Pi Corp IS System Delivery 516-803-3762 >>> [EMAIL PROTECTED] 09/24/02 02:23PM >>> Albert, You can't return more than one object from a Java functio

Re: return two CachedRowSet

2002-09-24 Thread Chris Pratt
That error means that, if you follow the flow through your method, you will never reach that statement, no matter which path you take.  Basically, you need to reevaluate your code, not your concept.   (*Chris*) - Original Message - From: Halil AKINCI To: [EMAIL PROTECTE

Re: return two CachedRowSet

2002-09-24 Thread Richard Yee
Albert, You can't return more than one object from a Java function. In order to return two CachedRowSet objects, you can do one of the following: 1) Return an Array or Vector of CachedRowSet objects. 2) Create another object that has two CachedRowSet objects as member variables and return an insta

Re: return two CachedRowSet

2002-09-24 Thread Albert Pi
I used more than two CachedRowSet without problem. Can you give more details about this ? Albert Pi Corp IS System Delivery 516-803-3762 >>> [EMAIL PROTECTED] 09/24/02 09:40AM >>> In the remote method declaration, I'm creating to CachedRowSet object and I'm using return crset1; return crset2