Subject | Re: [Firebird-Java] Re: Failure to delist resource |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-08-25T10:09:51Z |
> How would I set this property in the firebird-DS.xml ?Example:
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<tx-connection-factory>
<jndi-name>jdbc/firebirdDS</jndi-name>
<xa-transaction/>
<track-connection-by-tx/>
<adapter-display-name>Firebird Database Connector</adapter-display-name>
<config-property name="Database"
type="java.lang.String">localhost:C:/database/firebirdDS.gdb</config-propert
y>
<user-name>sysdba</user-name>
<password>masterkey</password>
<min-pool-size>0</min-pool-size>
<check-valid-connection-sql>SELECT CAST(1 as INTEGER) FROM
rdb$database</check-valid-connection-sql>
</tx-connection-factory>
</connection-factories>
For more details see the DTD in the docs directory of JBoss.
Roman