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
2 answers

Connect to database through two ssh tunnels in IntelliJ IDEA

I'm trying to add a postgresql database as a datasource in IntelliJ IDEA Ultimate. I've worked with a datasource through ONE ssh tunnel already. But now the database server is behind a firewall which only accepts ssh connections from a management…
zypro
  • 1,158
  • 3
  • 12
  • 33
1
vote
1 answer

Publish Data Source Greyed Out in Tableau desktop

I have installed tableau desktop and when I am going to publish my data source which retrieves from SQL on premises database to tableau online server, the publish option is greyed out(disabled). I have logged in to the server and I have also…
Chamila Maddumage
  • 3,304
  • 2
  • 32
  • 43
1
vote
1 answer

MySQL DataSource in Spring Boot is not available in other Service/Control classes and throwing null pointer exception

I am not an expert with Java and Springboot but I am building a QuartzScheduler application with JDBCStore in Spring Boot, I am using @Configuration, @Repository, @Service annotations for different classes in different packages, Structure has been…
UM1979
  • 162
  • 3
  • 15
1
vote
1 answer

memory leak in weblogic rmi driver

We are having a memory leak issue after we started to use our existing Weblogic Datasource from our standalone apps. Standalone apps and WL Datasource does not lay in the same server. We are retrieving datasource with JNDI via t3 protocol. We have…
jit
  • 452
  • 1
  • 7
  • 26
1
vote
1 answer

Angular Material: Best way to update datasource on edit?

Can someone tell me the best way to update my mat-table (with a DataSource) when a row is edited? I'd like for the page to not have to refresh, thereby losing the currently selected row and any sorting. My edit table is in a dialog box. Just don't…
CNDyson
  • 1,687
  • 7
  • 28
  • 63
1
vote
1 answer

Multiple Datasources

I have wired two datasources following examples for Oracle DB: @Configuration public class SpringConfigurationProperties extends DataSourceProperties { @Bean @Primary @ConfigurationProperties(prefix="spring.datasource") public DataSource…
1
vote
1 answer

EAP 6 datasource fault tolerant configuration load balancing between two SQL servers?

Environment: Jboss EAP 6.4 I have the following datasource configuration in my standalone-ha.xml
Pupusa
  • 167
  • 1
  • 3
  • 14
1
vote
0 answers

Externalised DB url configuration with other spring datasource properties

I'm trying make datasource url configurable externally(fetching from a Restful service response), however I need to know if the other datasource properties still remain the same and is applied to the datasource bean import…
technoJ
  • 175
  • 1
  • 1
  • 16
1
vote
1 answer

Ironjacamar deployment attribute

I have a very large app which I'm trying to port to wildfly 12 from jboss 5. I know very little about the app. At present I'm seeing this error in the wildfly logs 07:37:49,040 ERROR …
john
  • 85,011
  • 4
  • 57
  • 81
1
vote
1 answer

Will the code have any impact on MySQL available connections?

I have developed a Java web application which connects to MySQL Database using JDBC connector and making the pool of 2 connections. The application is deployed on tomcat server. Mmy question is, does this code impacts to MySQL available connections…
1
vote
0 answers

Failed to get Cassandra DataSource cause Spring application context wasn't injected

I am running an application written in Scala that is using Spark, Ignite, and persisting from writeThrough cache to Cassandra. From the Ignite base concepts code you are supposed to set the CacheStoreFactory as so:
1
vote
0 answers

JHipster - How to add another connection to a second DB (MySQL e.g.)

I generated already a simple jhipster project with this specs: specs But I would like to know how I add a new connection to a second DB (MySQL). So I want to use both DB (H2 (default DB) and the "new" mySQL)! First I went to application-dev.yml and…
R. Pereira
  • 205
  • 1
  • 3
  • 10
1
vote
1 answer

U-SQL Dynamic External Data Source

Greetings fellow developers! Does anyone know if there is there a way to query from dynamic external data source names in U-SQL? For example, in the MS sample script below, we would like the "MyAzureSQLDWDataSource" to be generated…
Han Gao
  • 11
  • 2
1
vote
1 answer

Configuring DataSource and Registering it with JNDI

I follow up the java doc java docfor datasource. I am not understanding the below code snippt. I create a connectionpooldatasource and register with…
jss
  • 199
  • 2
  • 13
1
vote
1 answer

Create processor for screen transmit RTSP

I have the next class, which is used to transmit RTP via audio or video files in Java. So far so good. What I want is to modify the UnicastRtp class to enable the transfer the screen, that is, you can use a medialocator like this: MediaLocator new…
Lobo
  • 4,001
  • 8
  • 37
  • 67