Yeah, it's hard to get a proper response from a forum full of retards like yourself.
Then again, I didn't have high expectations, considering all of the other threads are about useless bullshit, full of idiots bickering amongst themselves for no real reason.
package homework3;
If we help you, you'll never learn. Doing things yourself is a wonderful learning experience.
Name:
Anonymous2011-04-04 2:14
>>13
Sounds like a fancy way to say "I don't know."
The fact is, the program works as intended for the assignment. I could simply remove the try/catch all together, the teacher wouldn't give a fuck, and I'd still get a 100.
This is for my own benefit, and I'm not going to benefit by spending 3 hours of my life figuring out this problem, so fuck off if you're useless online as well as irl.
>>14 This is for my own benefit
Nice one. If it was you'd be figuring it out yourself and not asking other people for help, since you know it's for your own benefit and not for a high grade.
stop fooling yourself and write more oneliners to begin with DriverManager.getConnection("jdbc:odbc:registrar","","").createStatement().executeQuery(insert); fucking side-effect programming
>>16 This just in, you can no longer learn from others!
You can. But the way to do it is by reading a book not by asking people on the internet to spoon feed you the answer (which is found easily using Google anyway). http://mitpress.mit.edu/sicp/ here's a book recommendation Seriously, you're fucking stupid.
You can't figure out why a 30 line Java program doesn't work properly.
Everyone does it differently. I for one have an easier time programming this way.
Sure, it may be more efficient to have 1 line instead of 2, but unless the program is fucking huge it won't really matter in the overall scheme of things.
What's the difference between someone telling me the answer to something, and me reading about it in their book?
Nothing, other than that you're a huge faggot, and this is more convenient given I have provided my specific example, and I'm not digging through unrelated examples to solve a problem I don't care to spend half my life figuring out in the first place.
If you had any intention of being helpful, you would've simply gently pointed me in the right direction without spelling it out for me.
The fact is, you're just a bad troll with nothing better to do than talk shit to random people on the internet, as though it would get you anywhere in your meaningless, basement-dwelling life.
Please do everyone online a favor and unplug your internet connection, turn off your computer, and go play in traffic.
>>20
This is really pathetic. You obviously have no interest in knowledge and don't belong in any kind of intellectual field, let alone on this board. You're just spewing shit out of your fingertips because you want an easy grade and/or think anyone gives a fuck what you think.
>>22 gently pointed me in the right direction without spelling it out for me
But you wanted the answer spelled out for you. Otherwise you would have found it yourself. Why are you so angry?
You want the truth? Truth is, I think Java is a shit language, and all I want to do is solve this small problem and be done with it. I have no intention of arguing with some fuckwit who thinks they're the shit on a shitty 4chan offshoot.
I don't want an "easy grade," as I've said before the program successfully accomplishes what it is meant to do for the assignment. You're simply trying to validate your reason for being a complete asshole, and you're pissed off that I'm not buying it. The fact is, asking for quick help online is easier than reading books and other stupid "learning" methods.
You're dumb to forgo the easy method in favor of the difficult one, as you're clearly deluded into believing that "learning" can only be achieved through the latter. Perhaps you should "learn" that you are ignorant when it comes to such things.
You know, it's funny...I'd wager you're a real piece of shit IRL too.
More baseless assumptions on your part. Your mistake here is that you assume that anyone who desires the help of others needs to have everything spelled out for them. Somehow you believe that by not learning myself, that I expect you to simply hand me the answer, no questions asked. You should be careful about making such uninformed assumptions; your ignorance is showing.
Wow shut up nerd I bet you cried like a bitch when your mother told you you couldnt suck her breasts anymore and you were like 15 years old when this happened making it even more pathetic fuck you kid you dont know me
>>25
Just a heads up, that guy isn't me. However reading books and other stupid "learning" methods
Man you're killing me. >>26
How is my ignorance showing? You just wanted the answer (since it's a quick fix) for a good grade because you're too stupid to even do a simple Java program properly. Perhaps you should stick to Visual Basic and online tutorials since reading books and other stupid "learning" methods is too advanced for you.
How am I killing you? I'm simply saying that there is no valid reason for me to choose a more difficult method of learning over an easier one.
It's interesting how you can gauge someone's maturity online, based on the fact that their argument begins with personal insults, such as how "stupid" I am in your eyes. Surely you are the perfect being, and have never required help in order to solve a problem in your lifetime! No? Didn't think so.
You are correct, however I am still waiting for some sort of intelligent response regarding your blatant assumptions.
You: U want halp u no lern
Me: Argues to the contrary
You: U want halp u no lern
That isn't quite how arguments work. You see, you should offer additional points which support your argument, rather than simply restating it, which is essentially what you have done here.
While I'm sure you'll most likely lie to me, I'm compelled to ask what you do for a living.
>>30
When I required a quick fix I didn't tell other people online I was ``trying to learn''. I said I wanted a quick fix. The reason I recommended books is because they're much better than online tutorials and the shitty teaching at most universities. Of course you have to not be retarded to figure this out and unfortunately you don't fit the criteria.
>>25 I have no intention of arguing with some fuckwit who thinks they're the shit on a shitty 4chan offshoot.
And yet, it's exactly what you're doing since >>10/>>12.
And here you have dug yourself so deep in the hole that you surely will be unable to escape without help from another.
If you will take note of all of my posts since the original post, not once have I denied that I wanted quick fix, nor did I say that I am doing this in order to learn.
Likewise, you don't fit the criteria for a person I would consider intelligent enough to be able to develop and support an argument. Clearly we both have areas in which we can better ourselves.
This is almost comical. You assume that the only possible "personal benefit" in this case is by learning something. You also falsely assume that a "quick fix" involves an easy grade, even though I have established multiple times that the SQL error itself has no basis on my grade at this point.
The fact is, I view a quick fix as anything which would eliminate this error, simply for the [extremely OCD] purpose of having a clean, error-free the program, that is all. Nothing more, nothing less.
Name:
Anonymous2011-04-04 3:14
Let's settle this.
OP is a faggot for not saying they wanted a quick fix.
Anon is a faggot for not simply providing them their quick fix.
You are both faggots for keeping this shitty thread bumped.
SOLUTION:
Anon: Give him his goddamned quick fix
OP: Thank the faggot for it and stfu
Attempts to establish a connection to the given database URL. The DriverManager attempts to select an appropriate driver from the set of registered JDBC drivers.
Parameters: url - a database url of the form jdbc:subprotocol:subname user - the database user on whose behalf the connection is being made password - the user's password Returns:
a connection to the URL Throws: SQLException - if a database access error occurs
>>42
I meant getConnection public static ConnectiongetConnection(String url, String user, String password)
throws SQLException
Attempts to establish a connection to the given database URL. The DriverManager attempts to select an appropriate driver from the set of registered JDBC drivers.
Parameters: url - a database url of the form jdbc:subprotocol:subname user - the database user on whose behalf the connection is being made password - the user's password Returns:
a connection to the URL Throws: SQLException - if a database access error occurs
This thread is already a raging inferno, but I'd like to point out I knew what was wrong after one look at the javadocs despite not knowing how to just Java ODBC. So, OP, if you want any genial advice, just learn how to parse every single facet of the javadocs and not take a line of it for granted.