PDA

View Full Version : db:provider



henry lu
10-16-2007, 06:42 PM
Could some one show me an example of app.config and spring.config with oracle10.1? I have providers.config in the project but somehow the program didn't read it.

-Henry

pathakn
10-17-2007, 06:19 AM
<object id="DbProvider"
type="Spring.Data.Support.Oracle.OracleClientProvider, Spring.Data">

<property name="ConnectionString"
value="Data Source=agora; User Id=agora_user; Password=welcome; Integrated Security=no;"/>
</object>


Also check out oraAdoTemplateTests.xml in Spring.Data.Integration.Tests.

Hope that helps.