Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Kevin Nathan Newsgroups: comp.lang.java.databases Subject: Re: Local database library Date: Sat, 26 Oct 2013 19:04:52 -0700 Lines: 32 Message-ID: <20131026190452.595ab2ef@efreet.linux> References: <20131001135230.66af12f9@efreet.linux> <20131004110242.1be4f5ea@efreet.linux> <20131005120659.39a89f3b@efreet.linux> <20131026120811.1a9bc341@efreet.linux> <526c448a$0$302$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: individual.net //Vf+JuyWUx1QmtBNUUtqQV1sue0eOxuiNE235O2sZlQM2ShNp Cancel-Lock: sha1:1xx6j0hjhj0yFMvUe5iU9HDGNXo= 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:647 On Sat, 26 Oct 2013 18:39:04 -0400 Arne Vajh=C3=B8j wrote: >You need to distinguish between: >- DAO classes vs no DAO classes >- SQL in many classes vs SQL in one class > >Regarding the last question, then I will suggest >having the SQL near the code using the SQL. That >is where it belongs. > There is a pretty good structure right now in the C++ classes and I *think* that is sort of what I want to follow. I just need to figure out how to do it in Java. >I think you should post more questions - maybe with some small >examples. > I will work on that over the next few days and try to come up with a simple, decent example that shows my problem(s). --=20 Kevin Nathan (Arizona, USA) =20 Linux is not a destination, it's a journey -- enjoy the trip! Linux 3.7.10-1.16-desktop 18:59pm up 38 days 5:11, 15 users, load average: 0.37, 0.38, 0.46