RE: Is CMP is useless?

2000-04-08 Thread Elias Martensson
On Wed, 5 Apr 2000, Alex Paransky wrote: > I did, posting a question with the subject "Implementing using CMP quickly > runs in to limitation...". You responded with > > "there are servers (like orion or ejipt and > probably many more) that let you define whatever sql you like for your > finder

Re: Is CMP is useless?

2000-04-06 Thread Eric Richardson
one mentioned earlier its not as portable, but also the java compiler or Orion deployment tool will always catch table/column name errors and type errors where as hardcoded SQL won't. Just my 10 euros. Regards Rob Hargreaves -Original Message- From: Dale Bronk [mailto:[EMAIL PROTE

Re: Is CMP is useless?

2000-04-06 Thread Dale Bronk
t: Thursday, April 06, 2000 5:50 AM Subject: RE: Is CMP is useless? > Dale, > > I think your opinion on entity beans may be clouded by your use of Jonas > 1.6. > We used Jonas in our project up until about 3 months ago. The entity bean > performance in jonas is absoulutely

RE: Is CMP is useless?

2000-04-06 Thread Robert Hargreaves
ame errors and type errors where as hardcoded SQL won't. Just my 10 euros. Regards Rob Hargreaves -Original Message- From: Dale Bronk [mailto:[EMAIL PROTECTED]] Sent: 05 April 2000 14:54 To: Orion-Interest Subject: Re: Is CMP is useless? I do not claim to be an expert in any way,

Re: Is CMP is useless?

2000-04-06 Thread Magnus Stenman
- Original Message - From: "Dale Bronk" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, April 05, 2000 3:54 PM Subject: Re: Is CMP is useless? > They create a ton more sql calls than if I simply do my own sql obj

Re: Is CMP is useless?

2000-04-05 Thread Dale Bronk
rian Cunningham <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Tuesday, April 04, 2000 7:32 PM Subject: RE: Is CMP is useless? > RE: > "On the other hand, if > you want to CMP, your simple example will take at least 3 sql calls." > > Or: on

RE: Is CMP is useless?

2000-04-05 Thread Alex Paransky
il 04, 2000 10:26 AM To: Orion-Interest Subject: RE: Is CMP is useless? a really great place to discuss or get information on this topic is sun's EJB-INTEREST mailing list. the archives are full of extensive and mostly very competent postings regarding this very design issue (CMP vs BMP vs dir

RE: Is CMP is useless?

2000-04-04 Thread Brian Cunningham
rDescriptors I'll try to post an example of using the returned Collection (or enumeration...) tomorrow for those who care. Anyone got a sample already? One that is deployed in XML/Orion style? Brian Cunningham -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Be

RE: Is CMP is useless?

2000-04-04 Thread Robert Krüger
a really great place to discuss or get information on this topic is sun's EJB-INTEREST mailing list. the archives are full of extensive and mostly very competent postings regarding this very design issue (CMP vs BMP vs direct SQL) and many other general ejb design questions. regards, robert

Re: Is CMP is useless?

2000-04-04 Thread Dale Bronk
Orion-Interest <[EMAIL PROTECTED]> Sent: Tuesday, April 04, 2000 12:10 PM Subject: RE: Is CMP is useless? > But using stateless session beans to execute SQL means you have to embed the > SQL commands in to your code. This breaks the model that CMP is trying to > achieve. If so

RE: Is CMP is useless?

2000-04-04 Thread Alex Paransky
8:40 AM To: Orion-Interest Subject: RE: Is CMP is useless? >From my experience stateless session bean is a better choice for complex lookups, especially if they return enumeration of objects. [EMAIL PROTECTED] (Josh Sanderson)@itglink.com> on 04/04/2000 10:49:17 AM To: Orion-Inter

RE: Is CMP is useless?

2000-04-04 Thread Galina Sokolova
>From my experience stateless session bean is a better choice for complex lookups, especially if they return enumeration of objects. [EMAIL PROTECTED] (Josh Sanderson)@itglink.com> on 04/04/2000 10:49:17 AM To: Orion-Interest <[EMAIL PROTECTED]> cc: Subject: RE: Is CMP is

RE: Is CMP is useless?

2000-04-04 Thread Josh Sanderson
I don't knowI never thought Employees and sex mixed that well anyways -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Monday, April 03, 2000 9:04 PM To: Orion-Interest Subject: Is CMP is useless? Is it my imagination

Is CMP is useless?

2000-04-03 Thread Alex Paransky
Is it my imagination, but the minute any kind of complex finding is required on an entity bean, CMP becomes useless. For example, I have entities called EMPLOYEE, PERSON, and SEX (M/F/Other you know). EMPLOYEE is a PERSON with SEX. I have a function in EmployeeHome, findFemaleEmployees(). Ho