activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivanrc <>
Subject Re: Data source configuration of Apache Derby Network Server´s with client driver
Date Thu, 18 Oct 2007 06:34:38 GMT


It´s very easy!

<bean id="derby-ds" class="org.apache.commons.dbcp.BasicDataSource"
    <property name="driverClassName"
    <property name="url" value="jdbc:derby://localhost:1527/activemq"/>
    <property name="poolPreparedStatements" value="true"/>

org.apache.derby.jdbc.ClientDriver is into derbyclient.jar that come with
derby installation zip file

ivanrc wrote:
> Hi,
> I would like to know if I can define the Derby DataSource (derby-ds) to
> use the client driver  (org.apache.derby.jdbc.ClientDriver) because I have
> ready an Apache Derby Network server listening  on port 1527.
> If someone can write me down some example, I´ll be very glad 
> Thanks.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message