Re: [Xdoclet-user] Using CMR field with EJBQL

2003-08-14 Thread Philipp W. Kutter
, 2003 11:55 AM To: [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] Using CMR field with EJBQL Hi, David. Thanks for the prompt answer! 2. Phone and User have a 1:N relationship. Each P has a U, and thus a U also has many Ps that consider them as their U. Now I would li

[Xdoclet-user] Using CMR field with EJBQL

2003-08-14 Thread Philipp W. Kutter
Hi, David. I had a second look on your answer, and I think I can formulate my problem based on the code proposed by you: I would like to know why * @ejb.finder * signature = "java.util.Collection findPhoneOfUser(UserLocal user)" * query = "SELECT OBJECT(p) FROM phone p WHERE p.getUser

Re: [Xdoclet-user] Using CMR field with EJBQL

2003-08-14 Thread Matthew Excell
an example. > > Is this understanding right? > > Best, Philipp > > >In SQL, this would be > > > > select p.* from phone p, user u where p.user_id = u.id and u.name = > >'' > > > >If you were searching by user.id instead of user.name (as

Other example, same question... comming from J2EE tutorial of Sun...ANDANSWER, SURPRISING! Re: [Xdoclet-user] Using CMR field with EJBQL

2003-08-12 Thread Philipp W. Kutter
I looked through my posts and found the following: Example 5, http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/EJBQL4.html Finder method: findByLeague(LocalLeague league) SELECT DISTINCT OBJECT(p) FROM Player p, IN (p.teams) AS t WHERE t.league = ?1 What I actually wanted to find out is why the foll

RE: [Xdoclet-user] Using CMR field with EJBQL

2003-08-07 Thread Harkness, David
findUserByName(name + "%")". Is that closer? David Harkness Sony Pictures Digital Networks (310) 482-4756 -Original Message- From: Philipp W. Kutter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 11:55 AM To: [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] Using CMR fiel

Re: [Xdoclet-user] Using CMR field with EJBQL

2003-08-05 Thread Philipp W. Kutter
10) 482-4756 -Original Message- From: Philipp W. Kutter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: [Xdoclet-user] Using CMR field with EJBQL Hi, David. I had a second look on your answer, and I think I can formulate my problem based

RE: [Xdoclet-user] Using CMR field with EJBQL

2003-08-05 Thread Harkness, David
etworks (310) 482-4756 -Original Message- From: Philipp W. Kutter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: [Xdoclet-user] Using CMR field with EJBQL Hi, David. I had a second look on your answer, and I think I can formula