Hi,
Specs:
Mandrake Linux 9.2, with 2.6.3 kernel.
Eclipse 2.1.2 Build 200311030802
– Fresh install
– No other external plugins
– 6 org.eclipse.pde.* plugins and 1 org.eclipse.pde_* plugin.
MyEclipse 2.7.0 Build 200402281200-2.7.0-GA
IBM Java 1.4.1 for both Eclipse and JBoss 3.2.3 application server
Problem:
Generating primary key classes fails when running XDoclet over an EJB module when the primkey-field parameter is added to the @ejb.bean tag – or I’m doing something wrong…
I seem to have found that adding the primkey-field parameter to the @ejb.bean tag causes the <entitypk/> task to not generate any classes. Until it is added, all seems well and classes are generated. Unfortunately, JBoss requires this parameter to be present to generate correct SQL to create tables and deploy correctly (the parameter is spec, according to XDoclet website). The workaround of removing the parameter, running XDoclet, re-inserting the parameter and running XDoclet again doesn’t scale too well…
However, it’s getting late (early now?) so if I’m doing something patently silly here, please let me know.
Thanks,
Richard.