I am using dataobject="true" falag for the CMP plugin along with the
integer sequence pattern


It appears that it
generates incorrect ejbCreateMethods though.  Here is the generated code
minus comments

public java.lang.Integer ejbCreate(org.kelut.discourse.entity.ThreadData
data) throws javax.ejb.CreateException {
  setData(data);
  // EJB 2.0 spec says return null for CMP ejbCreate methods.
  return null;
}

public void ejbPostCreate( org.kelut.discourse.entity.ThreadData data )
throws javax.ejb.CreateException {
}

Notice there is nothing in ejbPostCreate and the ejbCreate does not create
a new id.

This is only for the ejbCreate methods that take a *Data object, the other
ejbCreateMethods appear to work fine.

Has anybody seen this problem before?

Ben Litchfield
 --



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to