Hello,

I am using jboss3.2.3 on Linux.

There was a previous post about the "no-select-before-insert" entity command in this 
forum. This to avoid the select count(*) queries before inserts.

>From what I understood setting this requires the following.
In the standardjbosscmp-jdbx.xml file

Under defaults set
<entity-command name="no-select-before-insert"/>

and

under entity-commands

<!-- variation on default that skips select before insert -->
<entity-command name="no-select-before-insert"
  class="org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand">
<attributename="SQLExceptionProcessor">jboss.jdbc:service=SQLException
Processor
</entity-command>

Note: In the real XML file there is a space between "attribute" and "name" 

After this setting I still see the the select count(*) queries in the server.log file. 
Am I missing something ?

Thanks for your help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828009#3828009

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828009


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to