Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.databases > #620
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Kevin Nathan <knathan@project54.com> |
| Newsgroups | comp.lang.java.databases |
| Subject | Re: Local database library |
| Date | Wed, 2 Oct 2013 10:09:35 -0700 |
| Lines | 47 |
| Message-ID | <20131002100935.0eacf609@efreet.linux> (permalink) |
| References | <20131001135230.66af12f9@efreet.linux> <524b40ba$0$304$14726298@news.sunsite.dk> <20131001154157.7f37e588@efreet.linux> <524b6e8d$0$304$14726298@news.sunsite.dk> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | individual.net slp4GirwutPFk9DO4RjcEAsNn+APmmFXrPBLbm96pHOky63RBZ |
| Cancel-Lock | sha1:DK5gix+gKQUB6ISSklGJ8esXvuI= |
| X-Newsreader | Claws Mail 3.9.0 (GTK+ 2.24.18; i586-suse-linux-gnu) |
| X-Face | %/gp4MCQT=`#JS##?-]V9ksid6OSR@(wbF"bK6wSLO$u,%(N@X~bVhAD+\A_[gRhx*T6=fq "N_5H8.v[&;q0iw!s_wuL05B0xg#OYUkbn#@&U_]fL%o==~2sphc?*L+bicO!POJLG#p'N.]J0/p_w Z^(.kOB%Ob914-V>?GI; |
| Xref | csiph.com comp.lang.java.databases:620 |
Show key headers only | View raw
On Tue, 01 Oct 2013 20:53:32 -0400 Arne Vajhøj <arne@vajhoej.dk> wrote: >So: > >getTransData() >getBuyerData()... > >assumes that the methods are in the same class as the calling method. > >If you want to move it out you will need to call a method on an >object. > >Maybe something like: > >TransactionManager txm = new TransactionManager(); >List<Transaction> txl = txm.getTransactions(); > I have, so far, determined to use one source file per table and I *think* I've figured out the library structure. I now have two files in it and they seem to work although some of the Swing stuff in the main program has stopped working (I probably deleted something I should not have when cleaning up the DB code). Your two code lines above have gotten me thinking of some other options and questions, so I will be digging into that. That's pretty much the format used in the C++ code, but that code is very poorly written so it's hard to understand a lot of what the previous coders were doing. As I said, I'm very new to Java and really need a month to learn things before jumping in, but I have to sneak that in, in between coding sessions. :-) Thanks for all your help, Arne! I have a lot of other questions, but I will be researching them on the internet. I will be back if I have problems finding the answers. I much prefer to figure things out for myself, but am not afraid to ask the occasional stupid question! :-) -- Kevin Nathan (Arizona, USA) Linux is not a destination, it's a journey -- enjoy the trip! Linux 3.7.10-1.16-desktop 09:56am up 13 days 20:09, 14 users, load average: 0.63, 0.61, 0.56
Back to comp.lang.java.databases | Previous | Next — Previous in thread | Next in thread | Find similar
Local database library Kevin Nathan <knathan@project54.com> - 2013-10-01 13:52 -0700
Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-01 17:38 -0400
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-01 15:41 -0700
Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-01 20:53 -0400
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-02 10:09 -0700
Re: Local database library Martin Gregorie <martin@address-in-sig.invalid> - 2013-10-02 19:49 +0000
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-04 10:48 -0700
Re: Local database library Martin Gregorie <martin@address-in-sig.invalid> - 2013-10-05 15:43 +0000
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-05 11:19 -0700
Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-02 22:05 -0400
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-04 10:57 -0700
Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-04 22:00 -0400
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-05 11:28 -0700
Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-05 15:15 -0400
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-05 12:49 -0700
Re: Local database library "John B. Matthews" <nospam@nospam.invalid> - 2013-10-02 15:37 -0400
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-04 11:02 -0700
Re: Local database library Lew <lewbloch@gmail.com> - 2013-10-04 15:56 -0700
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-05 12:06 -0700
Re: Local database library Lew <lewbloch@gmail.com> - 2013-10-15 16:41 -0700
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-26 12:08 -0700
Re: Local database library Martin Gregorie <martin@address-in-sig.invalid> - 2013-10-26 21:04 +0000
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-26 18:58 -0700
Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-26 18:39 -0400
Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-26 19:04 -0700
Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-26 18:33 -0400
csiph-web