Thanks Alexey, that works great! Howerver, I'm not able to add the entity command on the defaults section. Also, is there any side-effect for turning this option on? Where can I read more about it? This is my jbosscmp-jdbc-defaults.xml file (XDoclet is correctly merging it):
<defaults> | <datasource>java:/OracleDS</datasource> | <datasource-mapping>Oracle8</datasource-mapping> | <create-table>false</create-table> | <remove-table>false</remove-table> | <pk-constraint>true</pk-constraint> | <preferred-relation-mapping>foreign-key</preferred-relation-mapping> | <entity-command name="no-select-before-insert" class="org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand"> | <attribute name="SQLExceptionProcessor">jboss.jdbc:service=SQLExceptionProcessor</attribute> | </entity-command> | </defaults> It works fine if I put the entity-command on each bean, though. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838130#3838130 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838130 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user