Home arrow static arrow Java Programming [Archive] - ResultSet methods dont work...?
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - ResultSet methods dont work...?
This topic has 60 replies on 5 pages.    « Previous | 1 | 2 | 3 | 4 | 5 | Next »

Posts:343
Registered: 7/13/04
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:36 AM (reply 45 of 60)



 
i have till Aug. 30th to get this thing working, i'm almost tehre, as soon as the blob is done, its mostly just GUI work after that
 

Posts:21,718
Registered: 98-02-20
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:36 AM (reply 46 of 60)



 
OH MY GOSH YOU ARE MY SAVIOR!!!! YOUR CODE SNIPPET WORKED THANK YOU SOOOO MUCH!!!

Glad it worked. Better study what the difference was to make sure you know why.

I'm sure other folks have been telling you the key points here, too. They just didn't post code for you.

You're in a world of trouble here. Better start reading faster.

%
 

Posts:343
Registered: 7/13/04
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:37 AM (reply 47 of 60)



 
A word of advice:

When you're working with a technology that you've
never used before, like auto generated keys, write a
small, simple command line app that exercises it
before trying to incorporate it into a big lump of
code. Smaller is better, especially for
understanding.

%

thnx for that advise i'll put it into practice next time

 

Posts:21,718
Registered: 98-02-20
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:39 AM (reply 48 of 60)



 
I ought to bill you for acting as your senior adviser here. What's the address of your accounts payable department?

%
 

Posts:37,103
Registered: 3/30/99
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:39 AM (reply 49 of 60)



 
and squash it while you throw Exception from your
method. Why? What is the point of that? I saw
i have no idea! hehehe

http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html

4. You don't show where you catch SQLException.
i didn't realize such a thing existed

It's thrown by just about every method in java.sql.*. You need to learn to use the API docs.

http://java.sun.com/j2se/1.4.2/docs/api/java/sql/package-frame.html
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/SQLException.html

 

Posts:343
Registered: 7/13/04
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:48 AM (reply 50 of 60)



 
I ought to bill you for acting as your senior adviser
here. What's the address of your accounts payable
department?

%

I guess the next best thing is if you reply to this topic:

http://forum.java.sun.com/thread.jsp?forum=31&thread=541760

i'll give you all the duke dollars available on it
 

Posts:21,718
Registered: 98-02-20
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:52 AM (reply 51 of 60)



 
Okay, Duke me:

http://forum.java.sun.com/post.jsp?forum=31&thread=541760&message=2637069&reply=true

%
 

Posts:21,718
Registered: 98-02-20
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:53 AM (reply 52 of 60)



 
Ooops - NOW Duke me:

http://forum.java.sun.com/thread.jsp?forum=31&thread=541760

%
 

Posts:343
Registered: 7/13/04
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:54 AM (reply 53 of 60)



 
i didn't reward them then because i didn't get any help really
 

Posts:19,725
Registered: 9/26/01
Re: ResultSet methods dont work...?  
Aug 2, 2004 11:59 AM (reply 54 of 60)



 
i didn't reward them then because i didn't get any
help really

Ah, I see it...
In your world,
class WriteMyCodeForMe implements Help...

whereas in other's world the above class doesn't exist.
 

Posts:37,103
Registered: 3/30/99
Re: ResultSet methods dont work...?  
Aug 2, 2004 12:00 PM (reply 55 of 60)



 
i didn't reward them then because i didn't get any
help really

Bullshit. You got a lot of help in that thread.
 

Posts:21,718
Registered: 98-02-20
Re: ResultSet methods dont work...?  
Aug 2, 2004 12:03 PM (reply 56 of 60)



 
i didn't reward them then because i didn't get any help really

Not sure I agree.

I'd still prefer USD to Dukes.

%
 

Posts:343
Registered: 7/13/04
Re: ResultSet methods dont work...?  
Aug 2, 2004 12:04 PM (reply 57 of 60)



 
i screwed up in not doing it ok, sorry, though i know that doesn't help.
 

Posts:37,103
Registered: 3/30/99
Re: ResultSet methods dont work...?  
Aug 2, 2004 12:06 PM (reply 58 of 60)



 
i screwed up in not doing it ok, sorry, though i know
that doesn't help.

Most of the folks who helped probably don't really care about the dukes that much, but it does make you look like a "10-duke noobie"--someone who promises a bunch of dukes, gets his answer, then runs away.

You can go back and add more dukes and reward those that helped you (if you still have any dukes left).
 

Posts:19,725
Registered: 9/26/01
Re: ResultSet methods dont work...?  
Aug 2, 2004 12:08 PM (reply 59 of 60)



 
You can go back and add more dukes and reward those
that helped you (if you still have any dukes left).

From his/her profile: Dukes earned=0, Dukes rewarded=25. Nope, none left.
 
This topic has 60 replies on 5 pages.    « Previous | 1 | 2 | 3 | 4 | 5 | Next »