jdbc - spring pooled connection -
could me find correct datasource spring-mvc application. @ use hsqldb database , coonect using bean:
<bean id="datasource" class="org.springframework.jdbc.datasource.drivermanagerdatasource" p:driverclassname="${jdbc.driverclassname}" p:url="${jdbc.url}" p:username="${jdbc.username}" p:password="${jdbc.password}" /> in jdbc.properties: jdbc.driverclassname=org.hsqldb.jdbcdriver but i'm pretty sure, drivermanagerdatasource don't use pooled coonection. so, cannot used in web-applications. tried find other classes, of them in hsqldb.jar library couldn't used spring datasource, because have different interfaces. thinked write adapter class use it, bu think more useful solution eists problem.
any ideas?
i've used dbcp's basicdatasource this. , this question has example configuration.
Comments
Post a Comment