jndi « Database « Spring Q&A





1. Getting a JDBC connection by JNDI in Spring JDBC    stackoverflow.com

This page on Spring JDBC says

The DataSourceUtils class … provides static methods to obtain connections from JNDI
However the API doc for DataSourceUtils does not ...

2. What does java:comp/env/ do?    stackoverflow.com

I just spent too much time of my day trying to figure out some errors when hooking up some JNDI factory bean. The problem turned out to be that instead ...

3. JDBC/JNDI choice    forum.springsource.org

I have an application where I need to choose between JNDI lookup for DataSource (Tomcat deployment) and JDBC DataSource (Tests and batch). I found a solution : Code: ...

4. Jar having Spring JDBC code is not able to connect to App Server JNDI    forum.springsource.org

Jar having Spring JDBC code is not able to connect to App Server JNDI I have a abc.jar file which contains a Factory class, spring-config.xml, DAOs and DTO classes. This jar ...

5. why I use database url right but use jndi wrong    forum.springsource.org

Apr 22nd, 2006, 11:19 PM #1 Samark View Profile View Forum Posts Private Message Junior Member Join Date Apr 2006 Posts 3 why I use database url right but use jndi ...

6. JNDI : connection reset for Multiple requests    forum.springsource.org

Jul 19th, 2007, 11:00 AM #1 smaskar View Profile View Forum Posts Private Message Junior Member Join Date Jul 2007 Posts 7 JNDI : connection reset for Multiple requests I am ...

7. JDBC Connection Using Weblogic JNDI    forum.springsource.org

JDBC Connection Using Weblogic JNDI Hi All, I am trying to get a JDBC connection using Weblogic JNDI. My code is as follows. Please help. This is the method that returns ...

8. Connection to database using Global JNDI resources    forum.springsource.org

Connection to database using Global JNDI resources I am trying to create a DataSource object using Spring.jar and database properties found in Tomcat's server.xml Global Name resources. In one of Struts ...

9. JNDI or JDBC programmatically    forum.springsource.org

JNDI or JDBC programmatically Hi, I've been searching all over the net for a solution to my problem. Basically I want to package a java project that can be used in ...





10. spring 2.5 jndi/jdbc tomcat5.5    forum.springsource.org

Aug 29th, 2008, 05:35 PM #1 sinoea View Profile View Forum Posts Private Message Member Join Date Mar 2007 Posts 33 spring 2.5 jndi/jdbc tomcat5.5 Dear all, I am trying to ...

11. Unable to configure jndi for jdbc    forum.springsource.org

Hi, I am trying to configure a simple application to use a jndi datasource which i have configured in my weblogic server. my spring-config xml looks like this Code:

12. JNDI JDBC Connection lookup    forum.springsource.org

JNDI JDBC Connection lookup We have a series of spring XML bean definition files that we share among the developers on our staff. Before, I've simply put the database connection as ...

13. Get JNDI Connection    forum.springsource.org

Get JNDI Connection Hi Techies, I have JNDI name with Tomcat 6.0, using this i want get DB connection this is my requriement, i have written below the code in beanfactory ...

14. Using jndi instead of direct connection    forum.springsource.org

I have configured the following and it works fine. How do I change this to connect to my Websphere datasource jdbc/testDB Code: