Application connection with database persist after sucessfull transaction also.
Posted
by anupam3m
on Stack Overflow
See other posts from Stack Overflow
or by anupam3m
Published on 2010-06-14T05:41:53Z
Indexed on
2010/06/14
5:42 UTC
Read the original article
Hit count: 418
Hi , I am using Spring.Data.NHibernate12 on my database level.my application connection with database is not getting released.
Underneath given is Dataconfiguration.xml
< ?xml version="1.0" encoding="utf-8" ?>
< objects xmlns="http://www.springframework.net" xmlns:db="http://www.springframework.net/database" >
< object id="AuditLogger" type="Risco.Rsp.Ac.Audit.AuditLogger, Risco.Rsp.Ac.Audit" singleton="false"> < property name="CacheSettings" ref="CacheSettings"/> < /object>
<
object id="CacheSettings" type="Risco.Rsp.Ac.AMAC.CacheMgmt.Utilities.UpdateEntityCacheHelper,
Risco.Rsp.Ac.AMAC.CacheMgmt.Utilities" singleton="false"/>
< object type="Spring.Objects.Factory.Config.PropertyPlaceholderConfigurer, Spring.Core">
<
<property name="ConfigSections" value="databaseSettings"/>
<
<
db:provider id="AMACDbProvider"
provider="OracleClient-2.0"
connectionString="Data Source=RISCODEVDB;User ID=amsbvt; Password=amsuser1234;"/>
© Stack Overflow or respective owner