ItEr20S04ArquitecturaServidorItEr19S04: Changing datasource to DriverManagerDataSource to prevent problems with id generations.
This commit is contained in:
parent
0ccc486fac
commit
e4241f4490
1 changed files with 2 additions and 3 deletions
|
|
@ -13,10 +13,9 @@
|
|||
parallel.
|
||||
-->
|
||||
<bean id="dataSource"
|
||||
class="org.springframework.jdbc.datasource.SingleConnectionDataSource"
|
||||
class="org.springframework.jdbc.datasource.DriverManagerDataSource"
|
||||
p:driverClassName="${jdbcDriver.className}" p:url="${testDataSource.url}"
|
||||
p:username="${testDataSource.user}" p:password="${testDataSource.password}"
|
||||
p:suppressClose="true" />
|
||||
p:username="${testDataSource.user}" p:password="${testDataSource.password}" />
|
||||
|
||||
|
||||
<!-- Hibernate Session Factory. -->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue