On Tue, Jul 09, 2002 at 12:50:25PM -0400, Joseph Parks wrote: + Try adding primkey-field="id" to the class tags: + + * @ejb:bean name="Address" + * type="CMP" + * local-jndi-name="ejb/Address" + * view-type="local" + * cmp-version="2.x" + * primkey-field="id" + * schema="AddressSchema" + + -Joe +
thanx that worked. + >>> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 07/09/02 12:34PM >>> + + secondly, one of my classes is crapping out when i run entitycmp + + [ejbdoclet] Running <entitycmp/> + [ejbdoclet] Generating CMP class for 'test.server.entity.OpsEJBImpl'. + [ejbdoclet] Generating CMP class for 'test.server.entity.ResEJBImpl'. + [ejbdoclet] Generating CMP class for 'test.server.entity.GroupEJBImpl'. + [ejbdoclet] Generating CMP class for 'test.server.entity.TypeEJBImpl'. + [ejbdoclet] (TemplateEngine.invokeMethod 776 ) Invoking method failed: +pkClass, line=2 of template file: +file:/barbee/dev/test/server/xdoclet/ejb/entity-value.j + [ejbdoclet] java.lang.reflect.InvocationTargetException + [ejbdoclet] at sun.reflect.Gen + + this second problem only started happening when i added value-object tags. + does value-objects work in the current release? has anybody seen this before? as far as this second problem goes, it looks like this only happens with value-objects with type="Set". barbee. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
