, 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
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
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
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
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
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
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