You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Fabio Oliveira <fa...@uol.com.br> on 2003/10/17 18:47:09 UTC

struts-config.xml

 
Hello all, 

I've just configured the sample <data-source> tag in 
the "Blank" application in order to point to an Oracle 
Database, using the "thin" driver; and I've noticed that it's 
opened two connections as specified in the "minCount" 
property. 

I wonder whether this two connections are pooled ? Can anyone 
shed some light on this question. 

For your reference I'm including the <data-sources> section 
in this e-mail.

Thank you,

Fabio Oliveira.



 <data-sources>

   <data-source>

     <set-property

        property="autoCommit"

        value="false"/>

     <set-property

        property="description"

        value="Example Data Source Configuration"/>

     <set-property

        property="driverClass"

        value="oracle.jdbc.driver.OracleDriver"/>

     <set-property

        property="maxCount"

        value="8"/>

     <set-property

        property="minCount"

        value="4"/>

     <set-property

        property="password"

        value="mypassword"/>

     <set-property

        property="url"

        
value="jdbc:oracle:thin:myuser/mypassword@myhost:1521:mydb"/>

     <set-property

        property="user"

        value="myuser"/>

   </data-source>

 </data-sources>


 
---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis! 
http://antipopup.uol.com.br


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org