JBoss Community

When should I use statement cache

created by jaabax in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community