Hello Peter, at the moment, you can specify only the commands that create entities. The only way around is to add/implement this facility. Also, note, in 3.2.2 [create] entity commands got major refactoring.
alex Tuesday, July 08, 2003, 11:06:55 PM, Peter Spiess wrote: PS> If I understand how JBoss persists EJBs, there are Commands that are used PS> for storing (updating), creating, finding & deleting entities. I have just PS> written a custom class for persisting for creating an entity which is PS> created in the database via a Oracle stored procedure. In order to PS> accomplish this, I extended the JDBCCreateEntity command, only overriding PS> the methods necessary to call a different piece of SQL (instead of a plain PS> old INSERT statement) just as was done with JDBCPkSqlCreateCommand. PS> However, my issue now is that I would like to write similar commands for PS> storing (updating) and deleting this entity but the DTD (jbosscmp-jdbc.xml) PS> does not allow multiple entity commands. PS> So, that leads to my question...Given that there are multiple entity PS> commands already used within JBoss, why can't we specify multiple commands PS> per entity in jbosscmp-jdbc.xml? Is there another way around this? PS> Peter ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
