Michael Harris a écrit :
if one is deploying JR in a container of some sort, and they want to back
the repo with oracle, do they have to use jndi to bind the datasource?
Has anyone configured oracle back JR with spring-modules? if so what is the
repository.xml?
We want to be able to use oracle backed repo in a junit test environment
where by default jndi is not there. has anyone done this?
You can rgister a spring datasource in a file system JNDI context in
your JUnit tests so that your unit tests would be using the same
repository configuration.
This is in French but it should be readable :
http://www.ehsavoie.com/2008/04/crer-une-rfrence-jndi-sur-une.html
You can get FileSystem JNDI jar from Sun's JNDI site.
Regards,
Emmanuel