Top "Datasource" questions

Datasource is a name given to the connection set up to a database from a server.

How do I manually configure a DataSource in Java?

I'm trying to follow Sun's JDBC tutorial at http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html It …

java jdbc datasource
Where can I find historical raw weather data?

Where can I find historical raw weather data for a project I am doing with focus on the USA and …

database datasource weather weather-api
Should you set up database connection properties in server.xml or context.xml

I am trying to set up the database connection properties using JNDI for a Spring web application. I am considering …

java spring datasource jndi
Why do we use a DataSource instead of a DriverManager?

I am reading the Java JDBC specification (vr. 4) and I encountred this statement: DataSource — this interface was introduced in the …

java jdbc datasource
How to pass main report data source to subreport (JasperReports)?

I'm using JasperReports and I fill the JRDataSource for ther report. Now, I want to pass the main REPORT_DATA_…

jasper-reports datasource report ireport subreport
How to Define a MySql datasource bean via XML in Spring

I've looked over the documentation to define a bean. I'm just unclear on what class file to use for a …

spring javabeans datasource definition
mySQL DataSource on Visual Studio 2012

I've been reading about mySQL DataSource and the ability to use mySQL with Entity Framework, but I can't really generate …

mysql visual-studio entity-framework datasource
jboss 7 oracle datasource configuration

I'm currently migrating from jboss 4.3 to jboss 7.1.1 (Final) and i'm trying to configure an oracle datasource but it's not working. …

oracle datasource jboss7.x
How should I connect to JDBC database / datasource in a servlet based application?

I have an external MySQL server that's set up and working fine. I created a database connection in Eclipse and …

tomcat servlets jdbc datasource
How to test a mocked JNDI datasource with Spring?

I am fairly new to Spring and wondering how to create JUnit tests that use a mocked datasource and how …

spring testing junit mocking datasource