Hi Eric,
you can try the following descriptors. Variables that you must replace by values that
fit your environment are set between %%. I think their names describe their meanings.
Good luck
Max
DB2:
<jdbc-connection-descriptor
jcd-alias="default"
default-connection="true"
platform="Db2"
jdbc-level="1.0"
driver="COM.ibm.db2.jdbc.app.DB2Driver"
protocol="jdbc"
subprotocol="db2"
dbalias="%%dbalias%%"
username="%%dbuser%%"
password="%%dbpwd%%"
batch-mode="false"
eager-release="false"
useAutoCommit="2"
ignoreAutoCommitExceptions="false"
>
<connection-pool
maxActive="10"
maxIdle="5"
maxWait="-1"
minEvictableIdleTimeMillis="6000"
numTestsPerEvictionRun="5"
testOnBorrow="false"
testOnReturn="false"
testWhileIdle="false"
timeBetweenEvictionRunsMillis="60000"
whenExhaustedAction="2"
validationQuery="" />
<sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
<attribute attribute-name="grabSize" attribute-value="10"/>
</sequence-manager>
</jdbc-connection-descriptor>
Informix:
<jdbc-connection-descriptor
jcd-alias="default"
default-connection="true"
platform="Informix"
jdbc-level="1.0"
driver="com.informix.jdbc.IfxDriver"
protocol="jdbc"
subprotocol="informix-sqli"
dbalias="//%%dbserver%%:%%dbport%%/%%dbname%%:INFORMIXSERVER=%%informixservername%%;IFX_CODESETLOB=8192;LOBCACHE=-1;CLIENT_LOCALE=de_de.8859-1;DB_LOCALE=de_de.8859-1"
username="%%dbuser%%"
password="%%dbpwd%%"
batch-mode="false"
eager-release="false"
useAutoCommit="2"
ignoreAutoCommitExceptions="false"
>
<connection-pool
maxActive="10"
maxIdle="5"
maxWait="-1"
minEvictableIdleTimeMillis="6000"
numTestsPerEvictionRun="5"
testOnBorrow="false"
testOnReturn="false"
testWhileIdle="false"
timeBetweenEvictionRunsMillis="60000"
whenExhaustedAction="2"
validationQuery="" />
<sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
<attribute attribute-name="grabSize" attribute-value="10"/>
</sequence-manager>
</jdbc-connection-descriptor>
> -----Urspr�ngliche Nachricht-----
> Von: eric barbe [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 9. Januar 2004 16:10
> An: OJB
> Betreff: jdbc-connection-descriptor
>
>
> Hi everybody,
>
> Can anyone send to me some jdbc-connection-descriptor for DB2
> and Informix ?
>
> Thanks a lot.
>
> �ric
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]