datasource 4 « Database « Spring Q&A





1. Setting Datasource at Runtime    forum.springsource.org

I'm using Wicket to develop an app and have stumbled upon a roadblock. I'd like the user to be able to select their desired datasource at runtime, as opposed to hardcoding ...

2. WebLogicJtaTransactionManager and multiple datasources    forum.springsource.org

WebLogicJtaTransactionManager and multiple datasources Hi, I am trying to use spring 3.0 with Weblogic 10.3, with the config mentioned below: ...

3. How to get the DataSource in Java servlet?    forum.springsource.org

Hello, I have the following fragment in my test-servlet.xml: Code: Within my servlet I want to get a spring DataSource representing this data source. ...

4. How is the datasource is being set?    forum.springsource.org

5. Datasource - dependent on network connection    forum.springsource.org

Datasource - dependent on network connection Hi All, I have a requirement to run my struts2/spring web app (using Tomcat 5.5) on a computer that has network access and a computer ...

6. Issue with JNDI dataSource loading    forum.springsource.org

Issue with JNDI dataSource loading I'm getting an Error while trying to configure a JNDI dataSource for my Web Application. The dataSource will be used by iBATIS. I'm trying to deploy ...

7. How to use Two datasources.    forum.springsource.org

How to use Two datasources. Hey, I have to use two datasources. I think so, very simple, but i don't know what problem i have. i need to use very simple ...

8. Change data source dynamically while updating web input report    forum.springsource.org

Change data source dynamically while updating web input report Background In web-based input report, users sometimes need to change data source dynamically. For example, in a web report, inputted data often ...

9. Embedded DataSources are not dropped when context is destroyed.    forum.springsource.org

Embedded DataSources are not dropped when context is destroyed. For my tests i tried to use the new embedded-database feature form the jdbc namespace, but with Derby and H2 i ran ...





10. Help? Cannot Wire datasource, JNDI name not found.    forum.springsource.org

Help? Cannot Wire datasource, JNDI name not found. Sun Webserver 7 + Spring + JNDI Problem: Seems like no matter what I do, I get: Name X is not bound in ...

11. Possible solution for multiple datasources?    forum.springsource.org

Possible solution for multiple datasources? I'm using Hibernate with Spring annotational declarative transactions (@Transactional) and I want all readOnly transactions to go to a different database than our primary database. This ...

12. Property dataSource is required    forum.springsource.org

Nov 20th, 2009, 09:55 AM #1 mrTee View Profile View Forum Posts Private Message Junior Member Join Date Nov 2009 Posts 1 Property dataSource is required Hi, i actually work on ...

13. JDBC Connection with two data sources at one application?    forum.springsource.org

JDBC Connection with two data sources at one application? Hello Spring-Community! I hope you can support me! I implemented a user-login with a MySQL database. It works well, but only with ...

14. DataSource Switching Based on SiteCode    forum.springsource.org

DataSource Switching Based on SiteCode Hi, We have a application using JDBC, the application serves multiple sites, and each site has its own datastore. The application uses site id to decide ...

15. Not sure how to Autowire datasource for (JDBC) support classes?    forum.springsource.org

Not sure how to Autowire datasource for (JDBC) support classes? I'm migrating our DAOs from our own custom JDBC implentation to use some of the support classes instead, such as JdbcSimpleDaoSupport. ...

16. Two different datasource    forum.springsource.org

Two different datasource Can i have two different datasource in a spring config file such as Mysql and Oracle using the same "org.springframework.jdbc.datasource.DriverManager DataSource" as shown below ...





17. DataSource sharing    forum.springsource.org

I need to instantiate a single DataSource, used by JDBC and JPA DAO beans across multiple applications (maybe sharing the DataSource via JNDI). 1) Are there considerations that make sharing a ...

18. bad version issue when parsing datasource    forum.springsource.org

bad version issue when parsing datasource Hello All: I am working on a Project using Spring framework, we've included spring.jar and spring-modules-all.jar in the classpath, AFAIK, the Spring version is 2.0.3 ...

20. Replace PropertyPlaceholderConfigurer with one that reads from a data source    forum.springsource.org

Replace PropertyPlaceholderConfigurer with one that reads from a data source Hi all, The problem I am trying to solve is to load one of several implementations of a particular interface into ...

21. Data Source Explorer Not Showing Schema    forum.springsource.org

Data Source Explorer Not Showing Schema Hello, I am newbie to eclipse and java development. I have Installed SpringSource Tool Suite 2.3.0.RELEASE Build Id: 200912171331 I have configured Datasource with Jaybird ...

22. Two different datasource    forum.springsource.org

Two different datasource I have two different datasource as below one is from pool(jndiName) and the other one is from defaultObject java:/myPool ...

23. Variable Number of datasources to configure - please point me in the right direction    forum.springsource.org

Variable Number of datasources to configure - please point me in the right direction I need to configure a variable number, 1-n, of jndi datasources (and then daos and other beans ...

24. Verify dataSource    forum.springsource.org

Hi all, I have a DataSouce object that i want to verify using jdbcTemplate. So i created a new JdbcTemplate with the dataSource object as parameter, but i would like to ...

25. Problem in looking up container DataSource    forum.springsource.org

Problem in looking up container DataSource Hi, I am using JBoss application server and configured DataSource. Following is my applicationContext.xml from where I am trying to use the JNDI DataSource. Code: ...

26. Problem in looking up container DataSource    forum.springsource.org

Problem in looking up container DataSource Hi, I am using JBoss application server and configured DataSource. Following is my applicationContext.xml from where I am trying to use the JNDI DataSource. Code: ...

27. standalone Java application with two datasources    forum.springsource.org

I have standalone (not app server) Java application with two datasources. I need to synchronize transaction on these datasources. How should I do that?

28. Portable Datasource Connectivity    forum.springsource.org

Portable Datasource Connectivity Hello Guys (and Girls), I'm rather new to Spring and I think I've gotten myself into a little dilemma... I'm using Spring 2.5.6 for the front and backend. ...

29. what is the meaning of DataSource Realm?    forum.springsource.org

Eros Environment: JSP 2.0 Dojo 1.4.1 Ext JS 3.1 (testing) Spring MVC 2.5.6.SEC01 (planning to Spring 3 using STS) STS SWF 2.0.9.RELEASE Tiles 2.0.5 iBatis: ibatis-sqlmap-2.3.4.726

30. programmatically get/set the datasource properties    forum.springsource.org

Hi, in my application I've configured a datasource as follows: Code: ...

31. Change DataSources connection url at runtime    forum.springsource.org

Change DataSources connection url at runtime Hi colleagues, I face with strange behavior when changed DataSources connection url at runtime. My problem: I configure DataSources in apllication_context.xml: Code:

32. Dynamic DataSource Routing    forum.springsource.org

Hi I am using Spring 2.5 and Hibernate3.0. In my application each customer has their own database and my application has to switch the database dynamically based on the user logged ...

33. Working with multiple DataSources    forum.springsource.org

Working with multiple DataSources Hi, I have a requirement wherein i need to connect different databases by using dynamic datasources. the below article gives excellent information. http://blog.springsource.com/2007/01...ource-routing/ But for me there ...

34. Multiple datasources...    forum.springsource.org

35. Datasource issue upgrading JBoss 4.0.5 to 5.1.0    forum.springsource.org

Datasource issue upgrading JBoss 4.0.5 to 5.1.0 hi all, i have a webapp that happily deploys in JBoss 4.0.5 (works? let's not go there). it uses a JNDI datasource that is ...

36. Cannot find class [org.springframework.jdbc.datasource.DriverManagerD ataSource]    forum.springsource.org

May 19th, 2010, 02:32 PM #1 elhach85 View Profile View Forum Posts Private Message Junior Member Join Date Dec 2009 Posts 7 Cannot find class [org.springframework.jdbc.datasource.DriverManagerD ataSource] i'm working on a ...

37. Jindi datasource not working???????    forum.springsource.org

hello i am using spring with hibernate and JBoss4.2 as an application Server and using MSQL 2005 DB.... i wanna use the Jindi datasource in spring i read and search a ...

38. Spring trying to lookup data in wrong schema when multiple datasources are defined    forum.springsource.org

May 27th, 2010, 03:58 PM #1 dmfrey View Profile View Forum Posts Private Message Senior Member Join Date Aug 2004 Location Allentown, PA Posts 120 Spring trying to lookup data in ...

39. null ponter exception while creating data source.    forum.springsource.org

null ponter exception while creating data source. Hi , i am getting null pointer exception while creating data source . please look in to this exception. java.lang.NullPointerException at org.apache.commons.dbcp.BasicDataSource.close(Basi cDataSource.java:486) at ...

40. null ponter exception while creating data source.    forum.springsource.org

null ponter exception while creating data source. Hi i am getting this below exception while creating data source. please reply,it is urgent. java.lang.NullPointerException at org.apache.commons.dbcp.BasicDataSource.close(Basi cDataSource.java:486) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at ...

41. Jindi Datasource    forum.springsource.org

Jul 25th, 2010, 12:27 AM #1 Nita_au View Profile View Forum Posts Private Message Junior Member Join Date Jun 2009 Posts 13 Jindi Datasource Hi Guys, Hope you can help, I ...

42. Connection / Datasource    forum.springsource.org

Connection / Datasource I'm trying to get a connection from a datasource. in my SpringApp-servlet.xml I have this Code: com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/test ...

43. datasource Integration    forum.springsource.org

datasource Integration I cant manage it to use simpleJdbcDaoSupport in my Project. I always get a NullPointerException, because he cant connect to my datasource. Can anybody help me plz? DbConnectionDAO: Code: ...

44. Problem setting the datasource    forum.springsource.org

Problem setting the datasource I have a problem with creating the datasource using Spring JBDC to a Derby database. Can anybody help please The start of the code to create the ...

45. Multiple data sources    forum.springsource.org

46. Help datasource not defined    forum.springsource.org

Help datasource not defined I'm having a hard time getting started. I am trying to use the spring jdbc in a existing program. I am getting java.lang.IllegalArgumentException: dataSource is required error. ...

47. How to change values of datasource ?    forum.springsource.org

How to change values of datasource ? Hi, I'm using: - PropertyPlaceholderConfigurer that hold: host, db.name, pass, user etc.. - ClassPathXmlApplicationContext to start spring and get to the beans's. From today ...

48. Multiple Wars / Same JNDI DataSource    forum.springsource.org

If I have multiple wars that each need database access and they access the same datasource, is it okay for each war to have it's own persistence.xml/EntityManagerFactory configuration, or should these ...

49. Connected DataSources    forum.springsource.org

Connected DataSources Hi, I'm developing a hosting application. For this I need to create a master database, where users are registered, Each user also helds an information, to which database it ...

50. second data source    forum.springsource.org

second data source I could not resolve this issue. here is a second try to explain my case. I am using DAO's that extends HibernateDaoSupport. I need to get data from ...

51. Spring faispls to lookup Data Source using JNDI    forum.springsource.org

Nov 11th, 2010, 10:05 AM #1 maya View Profile View Forum Posts Private Message Member Join Date Oct 2010 Posts 42 Spring fails to lookup Data Source using JNDI Spring fails ...

52. datasource help    forum.springsource.org

Nov 11th, 2010, 03:28 PM #1 justStarted View Profile View Forum Posts Private Message Junior Member Join Date Oct 2010 Posts 2 datasource help I created a datasource bean and cannot ...

53. Error in configuring JDBC Datasource    forum.springsource.org

Nov 13th, 2010, 10:56 PM #1 j123 View Profile View Forum Posts Private Message Junior Member Join Date Oct 2010 Posts 6 Error in configuring JDBC Datasource I am using Springsource ...

54. Declaring 2 datasources in applicationContext.xml file.    forum.springsource.org

Declaring 2 datasources in applicationContext.xml file. Hi All, I need to connect to two different datasources so I declared below way in applicationContext.xml file Code:

55. DataSource backed Resource implementation?    forum.springsource.org

DataSource backed Resource implementation? The Resource interface is a fundamental building block of making effective use of the Spring framework. Incredibly powerful and flexible, the JavaDoc describes a Resource as an ...

56. datasource that uses jndi but fallsback to properties?    forum.springsource.org

Hi All, On a project at a previous organization I remember seeing datasources configured that looked datasources up via jndi but fell back on properties provided by a file if the ...

57. JNDI datasource issue in JBoss 6.0.0 CR1 deployment    forum.springsource.org

JNDI datasource issue in JBoss 6.0.0 CR1 deployment I have a J2EE application which uses Spring 3.0.5 + latest version of Hibernate (3.6) and I want to deploy it on JBoss ...

58. DataSource Spring DMI    forums.smartclient.com

59. Spring intergration of DataSource    forums.smartclient.com

60. Switch datasources using spring?    coderanch.com