Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26075
| From | Joshua Cranmer <Pidgeot18@verizon.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Changes in DB Value not Reflected in Output |
| Date | 2011-01-29 18:40 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <ii28hr$gj6$1@news.eternal-september.org> (permalink) |
| References | <81636edc-d51b-44a9-a3ef-2150fb65f8db@u11g2000prk.googlegroups.com> |
On 01/29/2011 02:15 PM, John Smith wrote: > - why are the two columns not showing up consistently across desktop > and server runs? Without knowing anything else, I am going to guess that the answer is you misprogrammed some concurrency code--on the desktop, contacting the database on itself is likely to cause some caches to end up being flushed and thereby causing memory to become updated across threads, while a database on the server is not going to cause remote cache flushes. > - why the column in the report file remains as 0 after changing the > value from true to false? This I can't answer without knowing anything else. Concurrency could again be a fault here, but I really don't know. > The Java code involves several classes and quite long to post; but I > can provide snippets if it helps. SSCCE would be invaluable if possible. To beat a horse to a bloody death, if all other explanations fail, concurrency can be a good guess for failure, but that does imply that most of the other code is not buggy in this sense. In any case, I'm not entirely sure what you're doing or what the correct outputs of those actions should have been, let alone where in the code it could be failing. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Changes in DB Value not Reflected in Output John Smith <wleung7@gmail.com> - 2011-01-29 11:15 -0800 Re: Changes in DB Value not Reflected in Output Patricia Shanahan <pats@acm.org> - 2011-02-02 13:40 -0800 Re: Changes in DB Value not Reflected in Output John Smith <wleung7@gmail.com> - 2011-02-01 14:47 -0800 Re: Changes in DB Value not Reflected in Output Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-01-29 18:40 -0500 Re: Changes in DB Value not Reflected in Output Arne Vajhøj <arne@vajhoej.dk> - 2011-01-29 17:11 -0500
csiph-web