If I understand how JBoss persists EJBs, there are Commands that are used
for storing (updating), creating, finding & deleting entities.  I have just
written a custom class for persisting for creating an entity which is
created in the database via a Oracle stored procedure.  In order to
accomplish this, I extended the JDBCCreateEntity command, only overriding
the methods necessary to call a different piece of SQL (instead of a plain
old INSERT statement) just as was done with JDBCPkSqlCreateCommand.

However, my issue now is that I would like to write similar commands for
storing (updating) and deleting this entity but the DTD (jbosscmp-jdbc.xml)
does not allow multiple entity commands.

So, that leads to my question...Given that there are multiple entity
commands already used within JBoss, why can't we specify multiple commands
per entity in jbosscmp-jdbc.xml?  Is there another way around this?

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

Reply via email to