I need to be careful here. I learned part of this under non-disclosure. I
thought it was now public information, but I just did a little surfing at
www.objectpeoople.com and didn't find any info. I believe an announcement will
be made in the next week for at least one more EJB server product.
Somewhere on this list I noticed a reference to support for an Imprise server as
well.
-Tom
-----Original Message-----
From: Christoph Rauscher <[EMAIL PROTECTED]>
Sent: Thursday, March 23, 2000 10:10 AM
To: [EMAIL PROTECTED]
Subject: Re: Entity Bean and Complex Queries
Tom stated that "TopLink ports for at least two other EJB Servers".
Which ones do you mean, Tom?
-----Original Message-----
From: Tom Larson [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 23. M�rz 2000 15:22
To: [EMAIL PROTECTED]
Subject: Re: Entity Bean and Complex Queries
Sripida states:
"Most of the tools available [don't provide] support for mapping from more
than
one table. In that case [you must] manage persistence on your own."
This may be true. However, if you are working with WebLogic Server, you
have a
very nice solution available -- TopLink for WebLogic Server from The Object
People (www.objectpeople.com). This product can produce queries of the sort
Amaresh outlines below and much more complex ones as well -- without writing
any
SQL! We're using using CMP exclusively. We have only 5 entity beans, that
make
use of about 15-20 tables.
I understand that TopLink ports for at least two other EJB Servers are
forthcoming.
Tom Larson
-----Original Message-----
From: Sripada Srinivas <[EMAIL PROTECTED]>
Sent: Thursday, March 23, 2000 9:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Entity Bean and Complex Queries
Hi Mr.Amaresh,
You have to manage the persistence of that bean on your own.
There are two types of entity beans. Container managee and Bean managed
persistence.
Most of the tools available does not give support for mapping from more than
one
table. In that case manage
persistence on your own.
Hope I am clear.
Sripada
Amaresh Rajasekharan wrote:
> Hi,
> I have a question about developing Entity Beans. Say,I have three
tables
> (Two independant and one relation) and I have to use them to get some
result.
> Now how to do this efficiently with Entity Bean model?
> Basically, I have to make a complex query like the following: (Just an
example)
>
----------------------------------------------------------------------------
--
--------------------------------
> select b.id, a.text
> from
> Atext a, AAtextrel b, ABrel c
> where
> c.id1 = &ID1 and
> c.id2 = b.id3 and
> b.text = a.text;
>
----------------------------------------------------------------------------
--
----------------------------------
> One can map the CMP fields to the columns in a SINGLE table using the
features
> provided in the standard IDEs. However, how to access different columns
from
> different tables from a single bean? This leads to another question that
if
> a model has 100 tables, does it mean 100 entity beans are needed to
> represent them as, in memory objects? What are the typical options to
design
> this using EntityBean model(using CMP)?
> Thanks for your response
> Regards
> RA
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".