I found an error that said I needed an entry in the deployment descriptor.
In a jar file, xdoclet generated the message "to add more finder methods,
create a file named
ejb-finders-myEntity.xml
That's great, but does anyone have a sample, I'm not sure where to start...
Any help would be appreciated,
Thanks,
Lorraine
-----Original Message-----
From: Lorraine Fox
Sent: Monday, February 16, 2004 3:58 PM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] ejb-ql failing at deploy time on jboss
Does anyone know why the following xdoclet ejb-ql would fail at deploy time?
I've tried everything I can think of. The findOrgNodesByProvOrgPMSID gets
generated just find, and builds with Ant, but the jboss deploy errors out,
it can't recognize what's after c. (the c.ProvOrgPMSID).
Any help would be greatly appreciated.
* @ejb.finder
* description="Find all OrgNodes with ProviderID"
* signature="Collection findOrgNodesByProvOrgPMSID(java.lang.String
pProvOrgPMSID)"
* query="SELECT OBJECT(c) FROM OrgNodeEJB c WHERE c.ProvOrgPMSID = ?1"
Here's the field declaration in the same entity file as the finder xdoclet
declaration above:
/**
* Required field
* Each Location or Department belongs to one Provider Organization
* @ejb.persistence
* column-name="ProvOrgPMSID"
* jdbc-type="VARCHAR"
* sql-type="varchar(50)"
* @ejb.interface-method
*
*/
public abstract String getProvOrgPMSID();
/**
* @ejb.interface-method
*/
public abstract void setProvOrgPMSID(String pProvOrgPMSID);
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user