Hi all,

I am doing a select on a table, and then calling the resulting objects
related objects to crawl all the connected tables:

objReaction.getWorkorder().getWorkorderStatus().getName(), which means a
seperate query per objReaction just to get the name of that reactions
status.

I noticed that there was a new static method in the BaseReactionPeer called
doSelectJoinallExcept[some table] which looks like it would load all my data
at once..  However, I ran it, and it did a cartesion join of three big
tables because there where no where clauses in the sql..  Is that normal?

Is the static method working, and I just am not understanding it right?
It's been a while since I worked with Torque.

Oh, I forgot to mention that I am working with the torque in T2.1, not ready
to tackle getting decoupled Torque and T2.2 integrated...

Eric

-----Original Message-----
From: Bill Schneider [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 3:23 PM
To: Turbine Torque Developers List
Subject: Re: running testbed


> I guess it is.  There's no "DROP TABLE IF EXIST" stuff for many
> databases.  You didn't mention the DB; PostgreSQL, right?

yes, I'm running on PostgreSQL.  So there is no conditional maybe-drop-table
command.

> > 3. If I run the testbed again without running "ant clean", I get an
error
> > like
> >
> > BUILD FAILED
> >
> > .../build-torque.xml:184: java.io.FileNotFoundException:
> > .../target/test/rttest/src/sql/bookstore-data.sql (No such file or
> > directory)
> >
> > anyone else seem this?
>
> Yes, I see this one.  "ant clean" between "ant test"s works here too.

I should look into this more closely, since "ant test" in succession should
generally work without an intervening clean.

-- Bill


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to