Patrice,
please make this
<?xml version="1.0"?>
<database name="myBase" engine="oracle" >
<data-source class-name="oracle.jdbc.pool.OracleConnectionCacheImpl">
<params user="user" password="pwd" min-limit="5" max-limit="10"
cache-scheme="OracleConnectionCacheImpl.DYNAMIC_SCHEME" .... />
</data-source>
<mapping href="Mapping.xml" />
</database>
and things should work.
Werner
On Thu, 04 Mar 2004 03:02:46 -0700, Bruce Snyder wrote:
>Werner Guttmann wrote:
>
>> Patrice,
>>
>> I have just been pointed to online documentation for this Oracle class mentioned
>> below. As OracleConnectionCacheImpl implements
>> javax.sql.DataSource, you will have to use the <data-source> element to configure
>> all this. Please note that due to still existing inconsistencies you will
>> have to use a different syntax, though.
>>
>> <?xml version="1.0"?>
>> <database name="myBase" engine="oracle" >
>> <data-source class-name="oracle.jdbc.pool.OracleConnectionCacheImpl">
>> <params user="user" password="pwd" minLimit="5" maxLimit="10"
>> cacheScheme="OracleConnectionCacheImpl.DYNAMIC_SCHEME" .... />
>> </data-source>
>> <mapping href="Mapping.xml" />
>> </database>
>
>Until your fix is checked in this will not work. Castor will not set the
>minLimit, maxLimit or cachSchema variables because it has no prior
>knowledge of these variables.
>
>Bruce
>--
>perl -e 'print
>unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
>
>The Castor Project
>http://www.castor.org/
>
>Apache Geronimo
>http://incubator.apache.org/projects/geronimo.html
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev