CMP O/R mapping question

2002-02-04 Thread Jon Bricker
My first CMP entity bean and I have some questions. I was wondering if it is possible to do a compound search within the O/R mapping in orion-ejb-jar.xml? The problem is a field from one table is needed to lookup a field on another table to get the result. Example: Customer has a field

Re: Advanced O-R Mapping

2001-06-01 Thread Marcel Schutte
'items_type' attribute from your code. Marcel - Original Message - From: "Hamidou DIA" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Thursday, May 31, 2001 9:27 PM Subject: Advanced O-R Mapping > Hi, > I am trying to use the

Advanced O-R Mapping

2001-05-31 Thread Hamidou DIA
Hi, I am trying to use the Orion advanced O-R mapping features. I have an entity bean "Event" which contains a Collection of "Attachements". At deployment time, Orion creates a perfect table for Event but the Event_Attachements table is created with one column of type LON

RE: O/R mapping

2001-01-24 Thread Emil Goldfarb
24, 2001 8:47 AM To: Orion-Interest Subject: RE: O/R mapping > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Sean P. > McNamara > Sent: mardi 23 janvier 2001 20:41 > To: Orion-Interest > Subject: RE: O/R mapping > > > &g

RE: O/R mapping

2001-01-24 Thread Dumitru Sbenghe
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Sean P. > McNamara > Sent: mardi 23 janvier 2001 20:41 > To: Orion-Interest > Subject: RE: O/R mapping > > > > While I agree that the 3-table approach is not necessa

RE: O/R Mapping

2001-01-24 Thread theis . meggerle
Hi again! The associative table has its pro and cons. As severel of you pointed out, the use of a associative table makes the tables a lot cleaner. But as our complex world seems to be full of multiplicity, I personally would think twice, when the domain model is large. I did a little test to mea

SV: O/R mapping

2001-01-24 Thread Magnus Rydin
Title: SV: O/R mapping That is, I fully agree that this is important when working with existing tables. WR -Ursprungligt meddelande-Från: Magnus Rydin Skickat: den 23 januari 2001 23:33Till: Orion-InterestÄmne: SV: O/R mapping Daniel, I fully agree with you from your POV

SV: O/R mapping

2001-01-23 Thread Magnus Rydin
Title: SV: O/R mapping Daniel, I fully agree with you from your POV. WR > -Ursprungligt meddelande- > Från: Daniel Cardin [mailto:[EMAIL PROTECTED]] > Skickat: den 23 januari 2001 10:50 > Till: Orion-Interest > Ämne: RE: O/R mapping > > > I'm a CMP fa

Re: O/R mapping

2001-01-23 Thread Christian Sell
: "Magnus Rydin" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 2:51 PM Subject: SV: O/R mapping One of the things I like best with EJB is that I dont have to care about how my objects are stored (Yes, im a CMP fanatic). So

RE: O/R mapping

2001-01-23 Thread Jeff Schnitzer
l way) , you do that with only a simple select. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Rydin Sent: mardi 23 janvier 2001 14:51 To: Orion-Interest Subject: SV: O/R mapping One of the things I like best with EJB is that I dont have to

RE: O/R mapping

2001-01-23 Thread Sean P. McNamara
While I agree that the 3-table approach is not necessary to do 1-M mappings, and that there are performance reasons that make the 2-table method attractive, the 3-table method has the benefit that it doesn't allow the fact that the object in the M (many) position to intrude upon it's table struc

RE: O/R mapping

2001-01-23 Thread Daniel Cardin
I'm a CMP fanatic too :) But keep in mind some of us have to deal with existing models that have been created in the "traditionnal" RDBMS fashion. It's good to have control on the way CMP will work with Orion. We have solved the O-R mapping problem by having a code generato

RE: O/R Mapping

2001-01-23 Thread Tony J Brooks
Behalf Of Jeff Schnitzer Sent: 23 January 2001 10:48 To: Orion-Interest Subject: RE: O/R Mapping The extra table is definately unnecessary, and hopefully it will go away in a future version of Orion. Take a look at bug #209 in Bugzilla. Jeff Schnitzer [EMAIL PROTECTED] >-Original Mess

RE: O/R mapping

2001-01-23 Thread Dumitru Sbenghe
Title: SV: O/R mapping I care; If you store a 1-m relation in 3 tables, to get the corresponding data from the third table for a PK from the first table, you must join the second table with the third table; A join is slower than a simple select;   If you store a 1-m relation in only two

SV: O/R mapping

2001-01-23 Thread Magnus Rydin
Title: SV: O/R mapping One of the things I like best with EJB is that I dont have to care about how my objects are stored (Yes, im a CMP fanatic). So my personal contribution to the subject must be: who cares how many tables are used 'back there' ? :) > -Ursprungli

RE: O/R mapping

2001-01-23 Thread Daniel Cardin
À : Orion-Interest Objet : RE: O/R mapping Hi Theis, As much as I can remember, there *is* - definitely - a need for an intermediate third table to contain the mapping information. By using this third table, you eliminate data replication/redundancy in the other two tables. To my knowledge this i

Re: O/R Mapping

2001-01-23 Thread Christian Sell
[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 9:14 AM Subject: O/R Mapping > > > Hi Tony! > > Thanks for your quick answer. But I'm still not convinced. Besides many to > many relation there is, as I see it, no

RE: O/R Mapping

2001-01-23 Thread Jeff Schnitzer
12:14 AM >To: Orion-Interest >Subject: O/R Mapping > > > > >Hi Tony! > >Thanks for your quick answer. But I'm still not convinced. >Besides many to >many relation there is, as I see it, no need for a third table >(with this >principle, a many-to-many r

O/R Mapping

2001-01-23 Thread theis . meggerle
Hi Tony! Thanks for your quick answer. But I'm still not convinced. Besides many to many relation there is, as I see it, no need for a third table (with this principle, a many-to-many relation would result in five tables as you translate it to two many-to-one, or?). Let me exemplify my concepti

RE: O/R mapping

2001-01-22 Thread Tony J Brooks
--Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: 22 January 2001 15:10 To: Orion-Interest Subject: O/R mapping Hi! I have been reading the complex-or example and ploughed through the atm example. In the complex-or example it is stated that c

O/R mapping

2001-01-22 Thread theis . meggerle
Hi! I have been reading the complex-or example and ploughed through the atm example. In the complex-or example it is stated that collections are mapped to an another table and that the reason for this is normalization. The Atm example is also following this principle. Is this really correct? I h

O/R Mapping

2001-01-15 Thread theis . meggerle
Hi everybody! I'm pretty new to applicationservers and right now I'm exploring the o/r mapping fascilities in orion. I have read the examples (atm, complex-or on orion support, etc) and the mail archive, but there is still lot of things that I don't understand. I would appreci

RE: EJB 2.0 O/R Mapping Support in Orion

2000-09-16 Thread Stanislav Maximov
age- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Goel, Deepak > Sent: Saturday, September 16, 2000 12:50 AM > To: Orion-Interest > Subject: EJB 2.0 O/R Mapping Support in Orion > > > Hello everyone, > > I would like to find more about support f

EJB 2.0 O/R Mapping Support in Orion

2000-09-15 Thread Goel, Deepak
Hello everyone, I would like to find more about support for EJB 2.0 O/R mapping support in Orion. Somewhere on this list I read that the ATM example is EJB 2.0 but the distribution I have doesn't seem to have that. Also, how can I make sure that the version of Orion I have really support

Hung while client application using O-R Mapping and version problem?

2000-09-05 Thread Jennifer Kew
Hi there, Can anybody answer me the following tiresome problem? 1. I try to use O-R mapping according to Orion How-to, exactly as the following: In CustomerEJB.java, add: public Set addressSet; public static final Class addressSet_type=com.FedEx.entity.customer.Address.class; public Set

O/R mapping

2000-08-11 Thread srikanth . minnam
Hi I guess it should be possible to make CMP Entity bean out of more than one table. I guess i have to make my own orion-ejb-jar.xml. Is somebody out there who has done that? rgds Srikanth