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)

4740 questions
1
vote
0 answers

Android: how to add more data when list reached bottom when using PageKeyedDataSource with PagedList?

I have a RecyclerView with a PagedListAdapter which is used to show a list of text(such as 0,1,2,...,99), and there is a button to add 20 more items to database such that the list of text becomes (0,1,2,...,99,...,119). With page size equals to 20,…
1
vote
3 answers

How to put an item from a middle of a list, on a first place?

What I have is a binding list: BindingList partnerList = _context.partner.Local.ToBindingList(); this._view.PartnerDatasource.DataSource = partnerList; This is a datasource for a drop down menu. What I want is to put a specific item to…
Whirlwind
  • 14,286
  • 11
  • 68
  • 157
1
vote
0 answers

Failed to validate a newly established connection with grails 3.3.5

I am using grails 3.3.5 and I have configured my application.yml with some properties in my production data source bellow properties: jmxEnabled: true initialSize: 5 maxActive: 50 …
1
vote
1 answer

In WebSphere, the JDBCProvider created in resources.xml file is by default xa="true"?

This is a peculiar issue: Our Websphere administrator made a script error in creating datasource and that created our datasource without the attribute xa=”true” in the resources.xml file. The datasource is not created using WAS UI, but created with…
SPL
  • 11
  • 2
1
vote
2 answers

How to define data used for DataGridview's column titles when using a list of objects in c#?

If you bind a DataGridview (winform) to a list of objects can you define which object property , a string, should be used for the column titles? At the moment its using the properties names from the objects. or is it possible to bind a separate…
user427165
1
vote
1 answer

The Message-Driven EJB unable to connect JMS Destination stating Error creating the db_connection

we have Oracle OSB 11g which is connecting to Oracle 12C DB in remote location or a different LAN. THE WebLogic EJBs connecting to Oracle AQs via JMS/JDBC and currently we are having issues with them. the WLS logs says: ####
Sanjib Behera
  • 101
  • 1
  • 13
1
vote
2 answers

https login page with curl

I can't get php curl to work. I need to log in to a page and then get the source code for a page right after login.
Grigoriy
  • 11
  • 1
  • 2
1
vote
2 answers

Filter data grid view list with the value from the search text box: 'Object reference not set to an instance of an object.'

I have set up a text box to search names on my data grid but I am receiving the error: 'Object reference not set to an instance of an object.' List members = new List(); public class Member { public int id { get; set; } …
J.Do
  • 303
  • 6
  • 26
1
vote
4 answers

Angular 6 and Angular Material Mat table dataSource Argument of type 'Object' is not assignable to parameter of type '{}[]'

I am getting a list of users from a MySQL database to display it in using the dataSource property: The following is the TypeScript method getUnitData(), where I am setting the dataSource value as the returned JSON array from PHP…
alim1990
  • 4,656
  • 12
  • 67
  • 130
1
vote
2 answers

How to configure Spring Boot to not connect to database

Please note: this question is not a dupe, and I even reference the other similar question below. I assert that my situation is categorically different than the other question referenced. I am standing up a Spring Boot web service that is not backed…
hotmeatballsoup
  • 385
  • 6
  • 58
  • 136
1
vote
0 answers

ComponentOne reports : using IEnumerable as datasource

I have business objects that implement IEnumerable and I and need to use them as datasource of a ComponentOne report. But, the "myreport.DataSource.Recordset" is only accepting a DataTable. Could I have some help to find how can a C1Report…
luapaul
  • 73
  • 7
1
vote
1 answer

Is there a way to access the SQL query results in a text field expression to conditionally display it in title band?

I want to conditionally display a text field in the title band based on the existence of some value retrieved in one of the records in the details band. Is there a way I can get access to the dataset result list from inside the expression editor so…
1
vote
1 answer

How to configure a datasource for a spring batch in Spring Boot 2 for testing purpose

I am playing with a simple batch processing and I have a problem with a DataSource configuration despite having an H2 dependency. Output from the console: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource…
marekmuratow
  • 394
  • 2
  • 13
1
vote
0 answers

Where is the Power Pivot data feed URL stored in an Excel file's internal XML?

A bit of backstory - the real problem I am trying to solve is how to package a PowerPivot / PowerView report that uses a SharePoint list as a data source, and have it be deployable to multiple SharePoint sites, and have it always look for the data…
Dylan Cristy
  • 916
  • 11
  • 29
1
vote
1 answer

Error in Tableau when creating a calculated field with variables from two datasets

I have two datasets: one with thousands of rows that has information about clients (one row per client) and more than 100 variables; and another one which is the result of a Machine Learning process that has some important values of the top 10 most…
1 2 3
99
100