Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25588

Changes in DB Value not Reflected in Output

From John Smith <wleung7@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Changes in DB Value not Reflected in Output
Date 2011-01-29 11:15 -0800
Organization http://groups.google.com
Message-ID <81636edc-d51b-44a9-a3ef-2150fb65f8db@u11g2000prk.googlegroups.com> (permalink)

Show all headers | View raw


brief description of problem:
I have created a Java app that
- adds two columns to a GUI window
- shows N in column if boolean flag is false; blank if boolean flag is
true

- adds two columns to an output file
- shows -1 in column if boolean flag is false; 0 if boolean flag is
true

problem:
- when running main entry on desktop against code base on desktop,
then the two columns showed up on on both the GUI window as blank and
the output file with value 0; but once I change the value from true to
false the two columsn GUI window shows up with "N" (correct) but the
output file shows up with 0 (incorrect - false should be -1)

- when running main entry on desktop against code base on server, then
the two columns showed up on on both the GUI window as blank and but
the two columns did not even show up in the output file

- when running main entry on server against code base on server, then
the two columns showed up on on both the GUI window as blank ; and the
run on the server for the output file failed with no obvious error
show in the logs.

note that the codebase has been deployed from desktop to server prior
to all tests.


summary:
two problems here:
- why are the two columns not showing up consistently across desktop
and server runs?
- why the column in the report file remains as 0 after changing the
value from true to false?


The Java code involves several classes and quite long to post; but I
can provide snippets if it helps.
Any suggestions to the two questions raised in the "summary" section
is appreciated.

Thanks.

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

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

csiph-web