| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> i new here <1> Bin Laden ? <0> im from dominican republic <2> look what the cat dragged in. Yo smsie :) <3> heya <3> I may as well ask here <3> is there a way to find out what number was just used in an auto_incrementing column in mysql? <3> ie: if I do: "INSERT INTO SOMETABLE VALUES()" (specifically via jdbc) can I get at the value of ID that was just auto-allocated? <3> stmt.executeUpdate(query); <0> mm <0> heu <0> hei <4> have you asked in #sql <0> which java version i need for applications client/server with sql <3> tried #mysql over in freenode. All several-hundred of them are asleep :( <4> the current jdk 5.0
<5> I wish eclipse was faster <4> jdbc has been part of the j2se all along (since jdk1.2) <5> I suppose I don't have enough dram <3> if I have to, I'll keep a record of the last that was allocated and increment it myself. I'd prefer to use the capability the database provides though <0> ooooook <3> snooplsm: eclipse loves you if you give it more ram :) <5> Can I ask someone about design patterns <5> i have 512 on this laptop and i guess i need another stick <3> snooplsm: this desktop has 768 and I wish it was 2G. You can always use more memory :) <5> of course <5> too bad people give me gift cards to best buy, 50 dollars is useless in that place <3> hmm <3> google rules :) <3> http://dev.mysql.com/doc/refman/5.0/en/cj-retrieve-autoinc.html <2> smsie: do keep in mind that 5 is a little different from the earlier MySQL versions. No idea what you're using right now but... 5.0... <6> hahahahahaha <6> how are you <6> hahahahahahaha <6> you are wonderful <4> no cut the nonsense ok ? <4> now <4> ta <7> be happy am back. <7> hope am not scratching the silence in here <4> calm down and sticjk to the topic please, you don't have enough friends in here to get away with silly games <4> do you use java at all? <7> sure, i know some java <7> but why it's so quiet <7> ? <3> Lion-O: yeah, 5 <3> looking like the maecanism has changed somewhat <2> smsie: *nod* <3> I can use what that page says, but my gut tells me it's a race vondition waiting to bite me on the *** <7> hahahhahhahahahahahahaa, anyway faggots, you're not more than some ****ing ***holes. i just joined here because i know some idiots of you. especially this calchas. calchas by the way, do ypu practice being this stupid <7> hahahaha <3> I'm not sure what the scope of LAST_INSERT_ID(); is <7> not you can ban me you little ****ing idiot <7> calchas you little irish girl <7> hahah <7> you little sissie <7> sissy ** <2> in a way my home channel #linux and this one have a lot alike. Epesh used to visit on a regular basis and we're pestered with "not too clued" people every now and then. <7> calchas what is wrong, you're still reading what i've written <7> damn <7> calchas you should go join a reading school <7> how comes you're in java channel <7> you're not more than a little queef poking fish <7> lol <7> i like it when i insult an idiot, and he doesn't know how to reacts about it <7> Lion-O **** off you too <7> i don't want to see you writing in the channel you little piece of **** <2> then learn how to use your irc client and hit ignore, just like I'm doing right now. <2> otherwise you'll be out of luck. <7> Lion-O hahah, what the **** <7> Lion-O **** off you little bastard <2> smsie: Isn't it possible to keep the table automaticly sorted so that whenever you insert a value you simply grab the last value? Still, thats still more SQL than Java related I suppose. <7> Lion-O damn this table <7> cut it off you bastard <7> damn i don't accept that you discuss such subjects in this channel <7> this channel is a chatting channel
<7> so cut it off <3> Lion-O: this table will eventually have something on the order of 1.6million rows. That's not really sane :) <2> smsie: *nod* It figures. oh well. <3> Lion-O: looks like I can get a SQLWarning object and parse that to get the id used. Having trouble getting google to tell me how exactly I can parse it though <2> smsie: you are talking about java.sql.SQLWarning here, right? Because that should be in the JDK specifications.. <3> Lion-O: yeah, it is. <3> Lion-O: the problem is that it's an Exception <3> it isn't clear to me how I'm supposed to get to it <3> ah, Statement.getWarnings() (I think) <7> znabela hey you slut <7> she's the channel's slut as i know <7> isn't shi <7> she <3> I think misnight is too late to be trying to learn how to do this :( <2> smsie: I can't help wonder how you plan to use this to get a next ID in that incremental field. <3> Lion-O: the next ID is output as part of the warning chain apparently <3> Lion-O: when I look at it tomorrow, I'll have a look and see what I need to parse out <2> smsie: *nod*. Sounds intruiging enough IMO, I'm still at the start of diving into SQL / jdbc access myself. <8> Hi, if i use FileWriter for create a new file, it's possible to create it on the source of this project? <9> you want your program to dump its own source into a file? <8> no i want to create a file to the root of the project <10> u can create a file wherever u want <10> just put a relative or absolute path <8> by default ak the root... <9> if you don't specify a path, the file will be created in your current directory when you run the program <8> what ever where the folder, i want a default folder and this folder is the root of the project <8> uppe i know but i can't because when i am on an another drive, the default folder is $@#$ crazy!!! <3> use System.getProperty(user.dir); <3> that's the corrent working directory <3> I don't think there's any way to get the directory where the .cl*** is (unless it's in args[] <8> nice thx <8> user is a variable...or??? <11> I'm having problems with the Eclipse Visual Editor plugin. <11> I believe that it is installed correctly, but I don't get the menu options I expect <12> hi <12> wow, irc is dead tonight <13> hola <13> como estan ? <12> hi <14> hi i'm having trouble running a cl*** <14> for some reason it says it can't find it but i compile it just fine... <14> root@jack:/tmp/commons-httpclient# javac -cl***path /tmp/commons-httpclient/commons-httpclient.jar HttpClientTutorial.java <14> root@jack:/tmp/commons-httpclient# java -cl***path /tmp/commons-httpclient/commons-httpclient.jar HttpClientTutorial <14> Exception in thread "main" java.lang.NoCl***DefFoundError: HttpClientTutorial <14> root@jack:/tmp/commons-httpclient# java -cp /tmp/commons-httpclient/commons-httpclient.jar HttpClientTutorial <14> Exception in thread "main" java.lang.NoCl***DefFoundError: HttpClientTutorial <14> woops <14> sorry about the paste... <15> Hi, I have a little problem with a switch statement...I have to compare some word length... < 3, == 3,... >8 ! how I can do ? <16> can i use onmouseover in style sheets? <5> i think so <5> case word.size() < 3 <5> case word.size()==3 <5> case word.size()>8 <5> default <17> is it possibile to readline form a txt file in J2ME ? <18> anyone ready to try my java game? <18> :)) <3> gah, java can be annoyinglyt obtuse at times <3> how can calling ResultSet.setLong(1,1); cause a null pointer exception? <19> ehm, that code isn't even valid <3> updateLOng I mean, sorry <3> rset.updateLong(NAME, getName()); <3> is the actual code <3> getName() is returning 1 <19> then rset is null <3> hmm <3> never thought of that <3> yep, that's it <3> thanks <3> I need to check the return value of rset.next() and move to the insert row if it's false <3> excellent, that works <3> well, it doesn't, but now it's failing for different reasons :) <19> k
Return to
#java or Go to some related
logs:
#linux #linux #chatzone greaceful girl #php #linux #linux #teens #mirc #linux
|
|