Questions tagged [datasource]

Datasource is a name given to the connection set up to a database from a server. The name is commonly used when creating a query to the database. The database source name (DSN) does not have to be the same as the filename for the database.

A data source is any of the following types of sources for (mostly) digitized data:

  • a database (in the Java software platform, datasource is a special name for the connection set up to a database from a server)
  • a computer file
  • a data stream

Please see more here (Wikipedia entry for Datasource) and here (Java 6 Datasource interface documentation)

4483 questions
1
vote
3 answers

Iphone programming: Multiple UITableViews reading from the same source?

This question is related to UITableView issue when using separate delegate/dataSource, though I have a different problem. I'm just starting to learn iPhone programming. Basically I have one main view with a table. On the event of a cell click, a sub…
Veeru
  • 4,814
  • 2
  • 39
  • 60
1
vote
2 answers

Spring Multi datasource with similar schema

I have 4 databases with similar schema on PostgreSQL My current code is like this ressources spring.datasource.url=jdbc:postgresql://localhost:5432/postgres spring.datasource.username=postgres spring.datasource.password=postgres DAO public…
Aberwag
  • 11
  • 5
1
vote
0 answers

Use Spring multiDataSource in chaos

In my project, I want method A,B use database1, and all other methods use database2. Now I write like this in controller DataSourceHolder.putDataSource("db1"); String code = methodA();//for get…
doubleevil
  • 41
  • 2
1
vote
0 answers

[VB.net]How to set encoding of the ReportDataSource

We have this sub to load the Report (and display it in Print Layout Mode) rv.Reset() rv.LocalReport.DataSources.Clear() 'Base setting Dim exeFolder = Application.StartupPath Dim reportPath = Path.Combine(exeFolder,…
Vinh VO
  • 695
  • 1
  • 5
  • 25
1
vote
1 answer

Configuring Dynamic routed datasource by JdbcTemplate and properties file

Is it possible to configure dynamic route datasource by application.properties and JdbcTemplate ? I can use this stuff to configure simple datasource. Thanks in advance for your help
user6023611
1
vote
1 answer

Tomcat/JAAS - Looking up DataSource

We have a newly written JAAS module and were wondering where to place the database connection setting for the DataSource object. Typically in a Tomcat web application, this would be reference in the 'web.xml' file to point to an XML file located in…
user353829
  • 1,064
  • 5
  • 20
  • 33
1
vote
1 answer

Passing Data Source Connection value through URL in Cognos 10.x

I have a data source with multiple connections.I need to pass Data source connection as a parameter in the URL to select the connection at run time. Currently I get a prompt page for choosing the connection value. I don't want the prompt page to…
mohammed sameen
  • 1,368
  • 1
  • 13
  • 39
1
vote
0 answers

How much time passed after the last active connection?

I use thousands of H2 databases via TCP using Hikari Connection Pools. In a period of 1-30min a lot of queries will be performed on about five of the databases. There will be some queries to some of the other databases too but it is not predictable…
Ironori
  • 540
  • 1
  • 5
  • 19
1
vote
0 answers

How to query default property of custom class for DisplayMember and ValueMember

I have this class (extremely simplified): Class MyClass Default Public ReadOnly Property Item(ByVal key As String) As Object Get Return key End Get End Property Public Overrides Function ToString() As String …
VBobCat
  • 2,056
  • 2
  • 18
  • 36
1
vote
1 answer

How can I get a handle to DataSource (document1) from a Java Bean

How can I get a handle to a DataSource on a XPages from a Java Bean and call its Save() method? The default variable (ID) is 'document1'. In ServerSide JavaScript, its a variable document1.save(); //pretty simple. However, in JSF, I think I have to…
xpagesbeast
  • 708
  • 1
  • 8
  • 18
1
vote
2 answers

What is the difference between ClientContainer and WSLogin?

I am using WebSphere v8.5 and in the administration console, and the Security Settings in the Data Sources section allow me to set my mapping-configuration alias to either ClientContainer or WSLogin. What is the difference between these two…
Ebony Maw
  • 494
  • 7
  • 20
1
vote
0 answers

SpringBatch datasource configuration - exception handling

I have a SpringBatch project where I want to catch an exception thrown when the application cannot find the datasource. I've already by-passed this, so it will use 'in memory DAO objects' instead of tables.. but it still throws an exception when…
1
vote
1 answer

Camel SQL - Put DataSource to SimpleRegistry in Spring Boot

I am using Spring Boot to initiate a camel route that uses Camel-sql to query MySQL DB and call a REST…
user1637487
  • 181
  • 2
  • 15
1
vote
0 answers

Automate multiple Excel files into one Tableau visualization

I have an Excel file with daily stats posted on a shared network folder each day. The structure of the table is exactly the same but a new file is posted each day as opposed to appending the new day's data to a single file. I want to automate…
Shamzah
  • 11
  • 1
1
vote
0 answers

Grails 3 run-script - Script execution error: No transactionManager

I'm trying to use the run-script command with one of my services in Grails 3. I have all my services marked with the @Transactional tag. I made a "standalone" groovy file in the folder src/main/groovy that declares one of the services and wants to…
user542103
  • 223
  • 2
  • 14
1 2 3
99
100