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
1 answer

Connecting two DevExpress GridControlls/Views via DataBindings?

I need to create a Windows Form with two DataGrids. On the right, there is a DataGrid which displays one selected table. Editing is disabled in this table. But selecting a row is possible. I use tow dropdowns to set up my select command for the…
MSandro
  • 11
  • 2
1
vote
5 answers

Need to change the database Name of datasource url dynamically(Multi tenant database )

I'm using Spring boot and Spring-data-Jpa. I am setting my data source URL, username, and password in the application.properties file. It works perfectly for one database connection,Now I am facing issue with my Database project structure that is…
shridhar
  • 79
  • 1
  • 12
1
vote
0 answers

Android Paging Library DataSource returning items, but onChange called with empty PagedList

I have an issue with PagedList and custom DataSource where my data fetch returns as expected, but my ViewModel Observer (Fragment in this case) gets an empty PagedList in onChanged. I’ve gone down a few StackOverflow rabbit holes on the this, there…
Conti
  • 1,017
  • 1
  • 11
  • 15
1
vote
0 answers

Why JNDI it´s not recognize the bean from dataSource

Hi I want to separate the DataSource from the Server.xml from Liberty and explicitly include in the class the connection parameters as shown in the following link but, when I add the @Resource annotation gives me the following problem: My Connector…
M.Parra
  • 91
  • 9
1
vote
1 answer

Decryption of Transparent Data Encryption (TDE) in an Oracle Database using weblogic datasource

I have implemented Transparent Data Encryption (TDE) in an Oracle Database Can you please tell how to decrypt it using weblogic datasource connection? Thanks in advance
1
vote
1 answer

Spring NotWritablePropertyException and Invalid property 'lazyInit' of bean JndiObjectFactoryBean

We are using WAS8.5 based JNDI data source configuration. While server start up, this datasource is not getting created. Hence throwing org.springframework.beans.factory.BeanCreationException by saying "Error setting property values; nested…
pramadal
  • 11
  • 1
1
vote
1 answer

when changing routes, the data in my datasource keeps adding to the existing table datasource; Angular 7 material design issue

The data in my material table is changing when I change the route. for example if I change the route and go back to the table route, the existing data is doubled. So I want to show some data in my Angular app that has been pulled from my firebase…
jan baljan
  • 11
  • 1
1
vote
1 answer

Multiple Datasource-Files in one EAR

I'm testing the sapbabijca for jboss 6. Currently i have 2 -ds.xml files in my ear. One is for my jdbc connection, the other contains the config of my sap connector. Now, when i try to deploy my ear i get: java.lang.IllegalArgumentException:…
Laures
  • 5,389
  • 11
  • 50
  • 76
1
vote
1 answer

spring boot not fetching data from external oracle database configured

I want to configure oracle database with spring boot2. I have developed the dao layer code and unit tested with embeded H2 database successfully. But now when i provide the datasource configuration details in applicaiton.yaml file, it is not able to…
Reese
  • 389
  • 2
  • 10
  • 26
1
vote
1 answer

Problem Deploying Application On JBOSS with multiple data source

Hi I am trying to deploy two war files on JBOSS EAP 7.1. Both of these are spring boot Applications for which i have configured JNDI Look up. My Standalone.xml file looks like something like this..
Madhu Reddy
  • 371
  • 1
  • 4
  • 12
1
vote
1 answer

Wildfly won't deploy when datasource is unavailable

I am using wildfly-8.2.0.Final. There are several databases that i have to connect to. However, some of them are only used for certain functionalities on the web application and they are not needed to be online all the time. So when the wildfly…
Ærsel
  • 11
  • 4
1
vote
1 answer

filtering data (.NET)

I have a GridView where the user selects a row, and then is taken to a FormView with more data from the record selected. However, the filter expression isn't working. This is my data source for the FormView:
Sara
  • 1,573
  • 5
  • 19
  • 27
1
vote
0 answers

Java ComboPooledDataSource exceeds pool size and does not reuse

I have the following code that gets called by an other application (That I can not change) to read form a Database. The method is called in a loop very often and DOSes the DB. At The DB I can see that there are many connecetions opend ... increasing…
PaulEdison
  • 897
  • 1
  • 15
  • 36
1
vote
2 answers

javax.naming.NameNotFoundException: on WebSphere Liberty

I'm trying to use a datasource configurated as a JNDI on a WebSphere Application Server Liberty however I'm getting the follwoing error: javax.naming.NameNotFoundException: java:comp/env/jdbc/myapp/master The configuration for the datasource in…
SocketM
  • 564
  • 1
  • 19
  • 34
1
vote
2 answers

Database connection Error ..... cannot load driver class ... Datasource exception

Application Properties spring.jpa.hibernate.ddl-auto=update spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver …
Shambhu Gohel
  • 65
  • 2
  • 10