| |
| |
| |
|
Page: 1 2 3
Comments:
<0> dibblego: mm <1> sure, I'm not saying it is - I'm just saying that's the critica question for determining decision criteria <2> dibblego: "don't hold ArrayList references"? You mean I can't put an ArrayList into another Collection?!!!! :/ <1> "I use Vector because it's fast" is poor criteria for example (because it's not fast (see the above rule about broad sweeping statements), etc. etc.) <1> kkaisare: sure you can, but you don't hold references of that type <1> in fact, I started writing an entire API spec. where it's impossible to even use a reference type that is a concrete type <1> do not do it - it leads to *so* many problems <1> I ***ume you're doing homework though - where you'll just flush it anyway <1> you probably want a Map<CharSequence, List<?>> <1> and you've probably got a HashMap<String, ArrayList<?>>
<2> dibblego: Right <1> do don't have one of those <1> and have what you want <1> s/do/so <1> bye <2> I can't say I understood much of that :( Still can't figure out why the HashMap is a bad idea. <3> [14:28] -Sharon27- DCC send jenna_family.rar (202.62.9.35) , talios <0> yeah <0> cant you domain ban spambots? <4> hy guys. did you ever use postgresql with jdbc ? is select currval('sequence') the only way to know the last id ? <5> fierarul, you could select it directly from the sequence, but using the function is preferred <4> talios: the point is I have an INSERT and then I need the generated ID (it's a serial). i feel i'm breaking the atom-icity (?) if I do another select. <4> although they say select(currval()) is safe, it feels weird (and somehow like PHP, you know...) <5> fierarul, if you created the table using "serial", then the default value for the column is the next serial <5> -if- its not part of the insert <5> thou some people don't like using magical numbers like that <5> which also doesn't work if you need to know the ID after you've inserted the record <4> talios: i have an id of type serial with default nextvalue(sequence) <4> and I _never_ set the id, I let the DB generate the next id. <5> so why select it then :) <4> now, i need a way to get the last generated id (for a link) <4> talios: i need the id to open the html page for the new id. <5> then you'll need to select it first - but make sure its all in a transaction/synchronized so nothing else creates a record first <4> that's what is bothering me. I'll try to do this in a transaction. <4> so this should be enough ? <6> what is hashcode() ? <7> the hashcode() <7> -() <8> ChAoTiC`: it's a method declared on Object. your API documentation will explain it's definition and purpouse. <9> anyone did the scjp 1.5 certification? <10> any real java network programmer??? <11> 'real' from a 'hot male'. <11> Heh <10> yeah...
<11> That has got to be the most weird nickname ever. <12> where is MaggieL ? <12> what nickname? <11> Not that 'loose guy' beats it :) <11> 18:00 < hot_male^> any real java network programmer??? <11> ;) <12> sniffy: Sure thinh <10> well.. hot_male does not reflect.. what u are thinking... rather it reflects the hot brain <11> Is this porn week on #java? <10> u dummy <11> Heh. <11> I did spot your ident as well. <12> sniffy: come on with your question - or forever burn in hell <10> now is this ok? <12> eh... was that over the top? <11> slappfyr, I don't have a question. The 'hot brain' just asked if there was any real java netwoirk programmers in here. <12> oh... <11> slappfyr, I just found his nick really amusing. <12> okidoki <12> btw: is it "out" to say "okidoki" <11> 'slapp' in the sense of the norwegian spelling btw? <11> It's very out :) <12> lol <12> Sure slapp is norweggian <11> Your nick is funny too then :) <12> but? doesn't anybody discuss java more? <11> Well everyone's idling. <13> do you have something to say? <12> nope - only 1 thing <12> I have a plan <12> How can I make an open-source project and get people to participate? <11> Unless it's world domination - I don't want to support it. <12> :) <12> It may end up in world domination - but then it's just a side-effect <12> This is far more important <12> What was Linus Torvalds famous word at irc before he startet to make Linux? <11> Don't troll? <0> what? <0> :) <0> :) <14> hm, LLyric ?
Return to
#java or Go to some related
logs:
#MissKitten #linux #linux nettransport 1.9 #linux orziot #linuxhelp #c++ enable cpanel system backups #linux
|
|