[jboss-dev-forums] [JBoss AS 7 Development] - When should I use statement cache

jaabax do-not-reply at jboss.com
Sun Jan 29 11:16:15 EST 2012


jaabax [https://community.jboss.org/people/jaabax] created the discussion

"When should I use statement cache"

To view the discussion, visit: https://community.jboss.org/message/649311#649311

--------------------------------------------------------------
hi
I'm reading the JBoss AS 7 new released book and there is a section describing statement caches (page 58)
but I didn't understand it very well

when should I use this feature?
and what if I'm using EJB with entity managers to control my transactions?

an xml piece from the book

<statement>
<track-statements>true</track-statements>
<prepared-statement-cache-size>10</prepared-statement-cache-size>
<share-prepared-statements/>
</statement>

thanks in advance!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/649311#649311]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120129/ca20fae2/attachment.html 


More information about the jboss-dev-forums mailing list