Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news.swapon.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: Fri, 4 Oct 2013 10:57:04 -0700 Lines: 36 Message-ID: <20131004105704.7e132036@efreet.linux> References: <20131001135230.66af12f9@efreet.linux> <524b40ba$0$304$14726298@news.sunsite.dk> <20131001154157.7f37e588@efreet.linux> <524b6e8d$0$304$14726298@news.sunsite.dk> <20131002100935.0eacf609@efreet.linux> <524cd0e4$0$298$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: individual.net VW2szlQV5GOmu3IJDm+yvwTlRk3XquB3lhRmC+hYirCRwe7vju Cancel-Lock: sha1:3xIYkcbPyjZkPqB5T1EIs3nzFc8= 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:625 On Wed, 02 Oct 2013 22:05:22 -0400 Arne Vajh=C3=B8j wrote: >On 10/2/2013 1:09 PM, Kevin Nathan wrote: >> >> 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 > >Remember to separate the data class and the class that manage the data=20 >class. > This is what I am trying to do, let me know if I am going far afield here: create a "DBaccess" library under "net.companyname.connect" "connect.java" file to connect to the database "transaction.java" to access the transaction table.=20 ... Right now I have that setup as a project under NetBeans and a separate project "penner" (weighs the animals and assigns them to pens). The calls to transaction.java aren't being seen in penner, so I think I have something not setup right in NetBeans (I am learning *this*, as well!) . I need to go through more tutorials on this, I guess. --=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 10:49am up 15 days 21:02, 14 users, load average: 0.66, 0.46, 0.52