Hi,
if you want to look at the data in the intermediate tables, you probably
need entity beans for them.  If you are using them only to link things up
with some criteria, you don't need entity beans for them.  His description
of the problem and sql code indicates he is doing the latter.  How to do
this with jaws/cmp is clearly explained in the documentation for jaws..

david jencks


On 2001.06.07 14:36:28 -0400 Grim Shieldsson wrote:
> More then likeley yes :)  You need one for each child table if you're
> using CMP.  I chose to use BMP for this situation becasue from a pure
> OO view, it's one object not a bunch of seperate objects.  In addition
> you may very well take a performance hit with all those EJB's running
> around, depending on how many you have, not to mention how many records
> you pull in the child tables.  You will end up having one EJB for the
> master, and one for each row of each child table.  this could very
> quickly put quite the strain on your server for high use tables.
> --- Ray <[EMAIL PROTECTED]> wrote:
> > Oh ... this could be my problem then ... so I do need
> > to define entity beans for the intermediate tables,
> > yes?
> > 
> > --- Grim Shieldsson <[EMAIL PROTECTED]> wrote:
> > > No I didn't, under Bean Managed Persistence.  You do
> > > under CMP.
> > > --- Ray <[EMAIL PROTECTED]> wrote:
> > > > Hi again .... :-)
> > > > 
> > > > Still working on my problem with customer finders
> > > > 
> > > > Has anyone got an example of a cusotmer finder
> > > that
> > > > uses SQL joins? This appears to be my problem.
> > > > 
> > > > Did you have to define entity beans for the
> > > > intermediate tables?
> > > > 
> > > > Any examples would be much appreciated .... :-)
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > >
> > ____________________________________________________________
> > > > Do You Yahoo!?
> > > > Get your free @yahoo.co.uk address at
> > > http://mail.yahoo.co.uk
> > > > or your free @yahoo.ie address at
> > > http://mail.yahoo.ie
> > > > 
> > > > _______________________________________________
> > > > JBoss-user mailing list
> > > > [EMAIL PROTECTED]
> > > >
> > >
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > > 
> > > 
> > > =====
> > > Grim Shieldsson (James A Barrows)
> > > Acting Chieftain of Clan StormWolf
> > > Barbarian Freehold Alliance
> > > Oppurtunity doesn't knock.  It only presents itself
> > > after you kick down the door.
> > > --Kyle Chandler
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo! Mail -
> > > only $35 
> > > a year!  http://personal.mail.yahoo.com/
> > > 
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > >
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> > ____________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> > or your free @yahoo.ie address at http://mail.yahoo.ie
> > 
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> =====
> Grim Shieldsson (James A Barrows)
> Acting Chieftain of Clan StormWolf
> Barbarian Freehold Alliance
> Oppurtunity doesn't knock.  It only presents itself after you kick down
> the door.
> --Kyle Chandler
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to