I was trying to use the AutoNumberFactory included in JBoss in my CMP2 app. This class generates automagically the Integer Primary Key values for all the entities.
I cannot deploy the associated EJB (org.jboss.util.AutoNumberEJB) as a CMP2 entity because all the accesor methods should be declared abstract. I could deploy it as a CMP 1 bean, but I would have to include a jaws.xml file in my app, which this far does has not needed it at all. I am thinking about patching the AutoNumberEJB and saving it as AutoNumberEJB2, making it CMP2 compliant. This way all the other classes (the remote and home interfaces and the AutoNumberFactory classes) would remain the same, and you can choose which one do you want to use on the ejb-jar file. The patch is obvious (the EJB has only two CMP fields). Would anyone do the change? Should I do it and post it as a patch? Is this desirable at all? ============================================ Ignacio Coloma Escribano Verdino Sistemas de Informaci�n 629 151 669 - http://www.iverdino.com _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
