@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> heya talios
<1> how goes?
<0> slowly, packing things up around the house, selling our life-possessions on trademe, y'know :)
<1> oh? have I missed some major gossip then?
<2> mike2_ is going to the UK talios
<1> oooo :)
<1> fun fun :)
<0> heh
<0> or something
<0> it's a bit of a mission to be honest
<3> wtf..
<4> wlfshmn?
<3> I have a hashmap that seem to -lose- entries..
<3> and they aren't replaced either, one time i have two, then another turn of the debugger, and I'm down to one, and not a remove or clear in sight
<4> odd
<5> hi all



<3> ok, hang on, the object is there, it's just disapeared from the debuggers view..
<3> ah well.. annoying, but not -my- bug then, supposedly
<6> salut... m-a pus sefu sa invat java si io nu stiu boaba... ce e aia ANT?
<6> * salut... m-a pus sefu sa invat java si io nu stiu boaba... ce e aia ANT?
<7> Sorry you'll have to try English here.
<6> ok... sorry about that
<6> so... i have to learn basics of java ... could someone tell frim where online could i read something for absolutely beginers?
<7> PetruPsiholo - Go and read the java tutorials to learn the basics http://java.sun.com/docs/books/tutorial/reallybigindex.html
<7> That's an excellent tutorial source. there's a "Getting Started" section called something like "Your first cup of java"
<6> thx alot
<8> is this a java help channel?
<8> sorry, I see no topic...
<7> Discussion/Help...
<8> ahhh
<8> great
<8> anyone work in the "field"?
<7> Several of us are professional developers
<8> anyone w/ Sun?
<8> well thanks then
<7> Okay... apparently he only wanted Sun people... go figure
<9> lol
<10> hi guys, someone working on an interesting project?
<1> define interesting
<10> innovative
<10> I just try to trigger a conversation
<10> and I'm interested in knowing what you guys are working on, what are your projects
<1> mostly as a means to learn wicket, and because I needed one.
<10> talios: cool, where do you persist your data?
<1> using hibernate/ejb3 annotations down to postgresql
<10> excellent, I use hibernate, not in an application server (dont need it right now), with xml mapping (until annotations are complete)
<10> and mostly because I started using hibernate 2 and only xml where supported so I have "legacy" mapping files if we can say so
<10> question: you use surrogate keys everywhere as your PKs ?
<1> under hibernate 2.x I used xdoclet
<1> its a piss simple database
<10> but, surrogate keys meaning these keys have no business meaning
<10> they are simple identifier, used by the database itself as pointer to rows
<1> then yes :)
<10> second question, what generator do you use? native? (identity / sequence) ?
<1> native, making use of postgresql's sequence handling
<10> ok
<10> are you aware that you cannot have batch-insert
<10> because the database generates the id?
<10> this means that when you call session.save(), the sql statement is sent right away, breaking any batching
<1> thats only an issue if you need to know the ids.
<10> (that's because hibernate needs to recuperate the generate id right away and set it in your domain entity )
<10> well, how can you tell hibernate not to get the id
<10> that's my point
<1> 3.x has support for batch operations
<1> thou i've never used it
<10> 2.x too
<10> I mean, if you dont use a database-side id generator
<10> when you call session.save( ) the insert statement is simply added to a batch
<10> and only when you flush (or tx.commit() which calls session.flush), a batch is sent
<1> unless you tell it not to.
<10> bu6t right now, you can test it, as soon as your call session.save, since the id is managed by your database, the statement is sent
<1> theres a hibernate session property that lets you set the jdbc.batch size
<10> which break the batch and gives a significant penalty in performance
<1> i need to have that at 0 otherwise postgres borks



<10> that<s for data fetching only
<10> if you know a way to have a database managed id generation
<10> and still have batch inserts
<10> there is something I don't understand
<10> as far as I know, if you have db-managed id geneartion for an entity, hibernate issues the SQL insert as soon as you call session.save
<10> if you are importing data, say,, 1000 objects
<10> that's 1000 round trip to the db instead of 1
<10> (batch of 1000)
<10> and as I told you, the batch-size property is only for fetching (fetching 20 objects at a time) but not insertions
<10> so it may become a performance issue if you are planning to do m***ive import of data, for your project
<11> go to : www.devilpimps.com/index.php?id=3113 if you want pic. with Jessica Alba NAKED....
<12> morning
<13> hello
<13> so err.. how do i set the size of a jframe in percentage?
<13> if i want it to fill, say, 64% of the physical screen
<13> size
<10> you get the screensize
<10> from the Toolkit c
<10> and then you set its size accordingly..
<10> size_y = 0.64f * screen_size_y; ... :P
<13> i see
<14> Hi
<14> I have a question about creating jar files. My Java Applet works fine, but when I create a jar none of the resources are found. I do use getResource***tream() to load the files. How can I make it work?
<14> The main cl*** is in package Main, the resources are not in a package or directory (tried that too but it didn't work either)
<14> So I reference to the files by getResource***tream("/filename")
<14> I'm using Eclipse for programming and FireFox to view the applet. The java VM is 1.4_06
<14> The java VM is 1.4.2_06
<14> hello?
<15> how can i copy an entire HashMap, putAll ?
<15> it's a deep copy or shallow ?
<16> Merllin: Shallow, but make sure you know what that means.
<15> it's deep
<15> i made a test
<15> :)
<16> It's not deep, you don't know what deep means.
<17> how dows java doc works
<17> 1) what is the command
<17> 2) how do i apply java doc comments in the code ?
<16> http://java.sun.com/j2se/javadoc/index.jsp
<17> thank you
<15> u know ?
<16> I do.
<18> Hi, I need to be able to extract metadata (length, aspect ratio, video size, etc) from a variety of video formats using java. I've heard you can use the Java Metadata Framework, but I only found info on how to play video files using JMF, I can't find any information on how to actually extract metadata from a file. So if anyone can help me or knows where I can find the help I need, I'd be much obliged
<19> hi! how do i get the path where my java application is being run?
<16> Cyber80s27: You don't.
<19> what do you mean?
<19> the local directory path..
<16> You want the current directory?
<19> ahhhmmm... yeah... the absolute path
<20> hi, does the * exists in java printf like in c printf?
<21> java printf? there is one?
<22> you could always check the api
<22> mord: yes
<22> it's been added for 1.5
<21> jottinger: ahh, 1.5 stuff. i'm not still quite familiar with all the new stuff
<23> I'm looking for a tool that analyse dependenciens between cl*** like method calls, and present it in a graph
<23> (hi)
<22> lots of such tools
<22> search TSS
<23> ok
<23> I may not use the good keywords
<22> look for structure101
<22> shoudl be on the front page or close to it
<24> tss?
<22> Evil_GLappy: theserverside.com
<23> the server side
<24> ty
<23> jottinger: structure101 seems ok for my needs
<23> thx
<22> no worries
<9> i posted something on the site cuz i have a question about this code i'm writing
<24> trying to compile a servlet, I get 100 errors like "cl*** suchandsuch is public, should be declared in a file named suchandsuch.java, how to fix?
<9> i am trying to loop this question so if it wrong it will keep asking the same question and if correct it will output some statement...


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

Robert Louis Stevenson adventure features the ship called Covenant
undernet harwester
#linuxhelp
carcinomaphobia fear
#skype
#php
gentoo buffer i/o error on device hda, logical block 0
eth amsn tls
ASYNCHRONOUS socket error 10061 delphi
eggdrops en ubuntu



Home  |  disclaimer  |  contact  |  submit quotes