hi.
when generating the EJB Local Home from my bean file, the parameter names
for the create() method are very generic. for example:
=============================
=============================
public cibrdeals.interfaces.DealLocal create(
java.lang.Integer param1 ,
java.lang.Integer param2 ,
cibrdeals.interfaces.EnumeratLocal param3)
throws javax.ejb.CreateException;
=============================
=============================
i can't figure out why this is happening because my bean file definition
looks fine (as follows):
=============================
=============================
/**
* This create method takes only mandatory (non-nullable) parameters.
*
* When the client invokes a create method, the EJB container invokes
the ejbCreate method.
* Typically, an ejbCreate method in an entity bean performs the
following tasks:
* <UL>
* <LI>Inserts the entity state into the database.</LI>
* <LI>Initializes the instance variables.</LI>
* <LI>Returns the primary key.</LI>
* </UL>
*
* @param dealId the dealId value
* @param version the version value
* @param enumerateByGpi3Id mandatory CMR field
* @return the primary key of the new instance
*
* @ejb.create-method
*/
public java.lang.Integer ejbCreate( java.lang.Integer dealId,
java.lang.Integer version, cibrdeals.interfaces.EnumeratLocal
enumerateByGpi3Id ) throws javax.ejb.CreateException {
// Use XDoclet's GUID generator. Only works for String fields
// This requires <utilobject includeGUID="true"/> in ejbdoclet.
// Set CMP fields
setDealId(dealId);
setVersion(version);
// EJB 2.0 spec says return null for CMP ejbCreate methods.
return null;
}
=============================
=============================
why would xdoclet generate the home interface's ejbCreate signature
differently? any insight would be greatly appreciated. thank you -
David Perchonok
Software Design and Development
Bank of America - CRM Services
Email: [EMAIL PROTECTED]
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user