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

how many datasources can coldfusion handle

We have a coldfusion enterprise server with 2 instances. Each instance has 200+ data-sources to databases on one MSSQL server. This number will keep on growing. Now it seems that requests to a single data-source are getting slower even though the…
birdy1980
  • 107
  • 10
1
vote
2 answers

cloud-init not working for NoCloud DataSource

I am trying to boot the instance with NoCloud datasource. But everytime the instance comes up it is try to connect to the network and metadata service. logs: 2015-08-17 15:48:58,115 - url_helper.py[WARNING]: Calling…
1
vote
1 answer

Configure SSL in dbcp2.BasicDataSource

I would like add enable ssl , ssltrustoreLocation and ssltrustorepassword for BasicDataSource , can any one tell me how i can add . BasicDataSource dataSource = new BasicDataSource(); //NOSONAR dataSource.setDriverClassName(driverName); …
gcool
  • 21
  • 2
1
vote
1 answer

Prevent Spring container from performing injection on provided Bean

My goal is to use Spring Batch with different instances of DataSource for my ItemWriter and the JobRepository respectively which should work like this. Unfortunately the Spring container injects the primary datasource at a later stage which I can…
oschlueter
  • 2,248
  • 1
  • 16
  • 38
1
vote
1 answer

Why does Visual Studio 2010 keep crashing when I try to load a database?

I'm not sure what is going on. I create a new Windows Forms Application project in VB.NET without changing any of the settings or labels. Then I click on "Add Data Source" and go through the steps in my programming book. Except that Visual Studio is…
shane
  • 11
  • 2
1
vote
1 answer

Why does autowiring jdbctemplate result in a cyclic dependency?

The following code produces a cyclic dependency error. @Controller public class Controllers { @Autowired JdbcTemplate jdbcTemplate; @RequestMapping(value = "/", method = {RequestMethod.GET, RequestMethod.POST}) …
1
vote
1 answer

TableView within TableviewCell not displaying cells

I have a UITablaView inside UITableviewCell. Here is my code: UITableViewCell: class ProductViewCell: UITableViewCell { @IBOutlet weak var totalOrderButton: UIButton! @IBOutlet weak var productImage: UIImageView! @IBOutlet weak var…
1
vote
2 answers

Is there a way to change sectioned tableview to drilldown tableview?

I have a sectioned tableview with a plist wich is an array filled with dictionaries. In my app all sections and cells are shown on the first view. But now I need to change it to look like this: sections have to become cells(with names of sections).…
cybopob
  • 25
  • 3
1
vote
2 answers

Use JQuery to bind mvvm data source

I have following:
In JS, I want dynamically add more DIV's (better: clone the .container DIV) and change the data-bind source to content2, content3…
Clemens
  • 51
  • 10
1
vote
1 answer

spring boot datasource tomcat jdbc properties not working

I have a Spring Boot application (version 1.5.1.RELEASE) and I am using spring-boot-starter-data-jpa as a dependency to manage my database. I am using postgres as my database and configured it using the below…
1
vote
1 answer

SpringBoot with Quartz and Tomcat datasource: Driver's Blob representation is of an unsupported type: oracle.sql.BLOB

I am using SpringBoot 1.4.5 and quartz for scheduling with a DataSource configured in Tomcat's context.xml which is injected as a bean via JndiDataSource for connecting to a Oracle 10g DB. Here are the relevant dependencies, including the Oracle…
Adrian Bob
  • 647
  • 2
  • 8
  • 26
1
vote
2 answers

Cakephp Custom Datasource Save/Update

Using the latest CakePHP build 1.3.6. I'm writing a custom datasource for a external REST API. I've got all the read functionality working beautifully. I'm struggling with the Model::save & Model::create. According to the documentation, the below…
zmonteca
  • 2,184
  • 1
  • 25
  • 25
1
vote
0 answers

How to get number of active connections using BasicDataSource object in java

I am trying to get the number of active connections using BasicDataSource object like following BasicDataSource bds = new…
1
vote
1 answer

Multi connection pool configurations for different modules in application

Our application has multiple modules, each module use its own schema in the same mysql database. Now I need to make different connection pool configurations for each module because of their different db resource consuming nature, i.e. some module…
1
vote
1 answer

External Datasource file in Wildfly 10

I want to be able to use .ds.xml files as in older versions of Jboss. Currently we are using Wildfly 10.0.0 and propably won't update any time soon, I searched for quite some time now and it seems that it is currently not possible? For example I…
Nico
  • 1,508
  • 1
  • 17
  • 36