Re: n+1 relation table

2006-01-20 Thread Gregg D Bolinger
- 3So item_id 1 would have types 1,2,and 3.I can populate Item and I can populate Type.  What I can't seem to figure out is how to get the List of types populated for my Item object. Thanks for any suggestions.GreggOn 1/18/06, Albert L. Sapp <[EMAIL PROTECTED]> wrote: Gregg D Bolinger

Re: n+1 relation table

2006-01-18 Thread Gregg D Bolinger
You are correct.  There is no need for that column in the item table.  That relation exists in the items_types table.  My mistake.  The problem still remains though.GreggOn 1/18/06, Albert L. Sapp <[EMAIL PROTECTED]> wrote: Gregg D Bolinger wrote:> I've search the archives and ha

n+1 relation table

2006-01-17 Thread Gregg D Bolinger
I've search the archives and have found a few similar issues but nothing conclusive to what I am doing.  I can only assume no one else has this problem because they know what they are doing and I don't (most likely) or no one is simply doing things the way I am doing them.  At any rate... I have a

Re: Build Time Checks

2006-01-17 Thread Gregg D Bolinger
t suite.  So yes, the mapping layer tests would hit the database.  Cheers, ClintonOn 1/14/06, Gregg D Bolinger <[EMAIL PROTECTED] > wrote: Derby (which is an Apache project now) has an in memory mode.  At any rate, yes, the quoted text was not stated correctly.  I'll try again.Is it comm

Re: Build Time Checks

2006-01-14 Thread Gregg D Bolinger
mory" mode. When I tried to port the iBATIS unit tests to Derby, the build took like 10 times longer. (not a problem with derby, just the reality of physical disks vs. DDR -- for what it's worth, I think Derby is a better "real" database). Cheers,ClintonOn 1/14/06, Gregg D

Re: Build Time Checks

2006-01-14 Thread Gregg D Bolinger
ine (depending on the practicality of the database). Cheers,Clinton On 1/14/06, Gregg D Bolinger <[EMAIL PROTECTED] > wrote: I do unit tests.  I've heard good and bad about performing unit tests that actually hit the database.  Typical scenerio is to use Mock Objects so you don'

Re: Build Time Checks

2006-01-14 Thread Gregg D Bolinger
AIL PROTECTED]> wrote: +1 On 1/14/06, Hycel Taylor <[EMAIL PROTECTED]> wrote: Unit Tests.On 1/13/06, Gregg D Bolinger < [EMAIL PROTECTED]> wrote:> I am looking for a way that I can validate my mapping files against my> associated object files and even possibly the database.  

Build Time Checks

2006-01-13 Thread Gregg D Bolinger
I am looking for a way that I can validate my mapping files against my associated object files and even possibly the database.  Basically, I want to ensure that when the project it built, I run into as few runtime issues as possible.  As it is, if someone changes the database or someone changed an