e I don't have the market data in front of
me) of Java enterprise software shops not only make extensive use of
EJBs, they list the fact that they know how to do so effectively as a
major competitive advantage. We also use the webdoclet module, but EJB
is by far our largest use of XDoclet.
M
Id ( Integer userId )
> >> {
> >> try {
> >> setUser(UserUtil.getLocalHome().findByPrimaryKey(userId));
> >> }
> >> catch ( NamingException e ) {
> >> throw new ServiceException("Failure looking up user home", e);
> >> }
> >> catch ( FinderException e ) {
> >> throw new ServiceException("Failure finding a user", e);
> >> }
> >> }
> >>
> >>First of all, is this where you were going with this?
> >>
> >>
> >>
> >Yes, this is what I am going to, adapted to your Phone/User example.
> >
> >Now I would like to make a finder method on phones, where I select those
> >
> >(the single one in fact) having a certain
> >user:
> >
> >* @ejb.finder
> >* signature = "java.util.Collection findPhoneOfUser(UserLocal user)"
> >* query = "SELECT OBJECT(p) FROM phone p WHERE p.getUser = ?1 "
> >
> >
> >This is not working in my examples. Why?
> >
> >Best, and thanks again, Philipp
> >
> >
> >
> >
> >---
> >This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> >Data Reports, E-commerce, Portals, and Forums are available now.
> >Download today and enter to win an XBOX or Visual Studio .NET.
> >http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
> >___
> >xdoclet-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> >
--
Matthew Excell <[EMAIL PROTECTED]>
The Possibility Forge, Inc.
signature.asc
Description: This is a digitally signed message part
re used to
work around the limitations in EJB-QL.
--
Matthew Excell <[EMAIL PROTECTED]>
Senior Consultant - The Possibility Forge, Inc.
On Wed, 2003-04-02 at 12:57, Andrew Stevens wrote:
> On Tue, 2003-04-01 at 22:41, Stuart Guthrie wrote:
> > Does anyone have an example of use
, cmp-version tag, and the others that aren't
in your bean:
/**
* This class is part of the Self-administered website project.
* It is a CMP EJB that represents a page in a site.
*
*
* @version $Revision: 1.5 $
* @author Matthew Excell 1/30/2003
* @ejb.pk
*class="
and it works wonderfully!)
Could you post the section of your build.xml that deals with ejbdoclet?
Are any jboss files being generated at all?
--
Matthew Excell
Senior Consultant - The Possibility Forge, Inc.
PS. Estou com saldade de São Paulo!
On Thu, 2003-03-13 at 09:02, [EMAIL