Hmmm, i currently use the following header in "PersonBean.java":
/** * Representation of a Person * * @ejb.bean * type="CMP" * cmp-version="2.x" * name="Person" * jndi-name="adr/Person" * local-jndi-name="adr/Person" * display-name="Person Bean" * view-type="local" * use-soft-locking="true" * * @ejb.home generate="local" * @ejb.interface * generate="local" * * @ejb.finder signature="java.util.Collection * findByName(java.lang.String name)" * unchecked="true" * * @ejb.finder signature="java.util.Collection findAll()" * unchecked="true" * * @jboss.table-name "Person" * @jboss.create-table "true" * @jboss.remove-table "true" * @jboss.tuned-updates "true" * @jboss.read-only "false" * * @ejb.persistence * table-name="person" what is wrong with that? thanx markus * Aslak Hellesoy <[EMAIL PROTECTED]> [2002-10-16 17:32]: > You're not supposed to use a qualified class name for @ejb.bean name="X". X > should be a logical name. Use "Person" instead. > > Aslak > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:xdoclet-user-admin@;lists.sourceforge.net]On Behalf Of Markus > > Garscha > > Sent: 16. oktober 2002 17:12 > > To: [EMAIL PROTECTED] > > Subject: [Xdoclet-user] JBoss and ejb-name > > > > > > Hi! > > > > i get the following deployment error: > > > > org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for > > Entity Bean de.gama.adr.model.Person: The ejb-name for a CMP2.x Entity > > must be a valid Java Identifier > > > > becaus xdoclet creates a ejb-jar.xml: > > > > <ejb-name>de.gama.adr.model.Person</ejb-name> > > > > > > whats wrong? > > > > thanx > > markus > > > > -- > > ------------------------------------------------------------------ > > ------------- > > Markus Garscha > > Germany > > pgp-keyid: 0xEE18AF3B > > ------------------------------------------------------------------ > > ------------- > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Xdoclet-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user -- ------------------------------------------------------------------------------- Markus Garscha Germany pgp-keyid: 0xEE18AF3B -------------------------------------------------------------------------------
msg03013/pgp00000.pgp
Description: PGP signature
