datasource Questions
6
I use AbstractRoutingDataSource to change data source dynamically and ThreadLocal to set up currentLookupKey. It works nice when I use only one data source per http request. I use JpaRepository
@C...
Uzia asked 1/6, 2016 at 6:42
7
intellij idea data sources doesn't see existing table in my mysql database, while Netbeans see it.
i've created a table in the database. When i create connection in intellij idea data sources, it s...
Niersteiner asked 6/9, 2012 at 10:56
11
Solved
I have created an application in Visual Studio (C#) that makes use of a datagridview. Now, when I assign the DataSource of that datagridview, it automatically selects the first row, and executes my...
Milldam asked 19/9, 2012 at 12:29
15
Solved
I have a small Java application for testing purposes. I have moved to hikari recently. What I notice is that I keep getting this error.
java.sql.SQLTransientConnectionException: HikariPool-1 - Con...
Hamill asked 11/12, 2017 at 17:21
2
I have the following quartz.properties:
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.jobStore.dataSource=dataSource
org.quartz.jobStore.driverDelegateClass=org.quart...
Bedplate asked 29/5, 2022 at 7:18
6
Solved
I'm trying to create a non-web application using Spring Boot following a MKyong's example, but I got the following error:
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | ...
Nurserymaid asked 12/12, 2018 at 10:58
5
Solved
I have a Spring Boot application that provides a REST API to front-ends. I am using jOOQ and Postgresql. I am currently getting this error when executing all integration tests locally (around 1000 ...
Protrusive asked 6/11, 2017 at 16:11
8
Solved
I can't seem to figure out how to export a data source configuration in DataGrip (currently on 2016.2 EAP).
I would like to export a handful of data sources and share them with my teammates to mak...
Contiguity asked 20/6, 2016 at 20:27
1
DefaultBandwidthMeter bandwidthMeter = new DefaultBandwidthMeter();
DataSource.Factory dataSourceFactory = new DefaultDataSourceFactory(this,
Util.getUserAgent(this, "yourApplicationName"), bandwi...
Trodden asked 4/2, 2017 at 9:26
3
Solved
You hear a lot of people talking about repositories and datasources when talking about design patterns like MVVM or MVI. I've been creating repositories for things like Retrofit and API calls, and ...
Plumy asked 9/3, 2021 at 22:30
10
Solved
Ok I don't know why this isn't working, but I have hooked up a tableView, with 19 items of text I'd like to set to each cell.
The cells populate just fine, but when I try and scroll, it goes down ...
Bursar asked 1/9, 2011 at 15:11
4
Solved
I need to use angular material table without model, because I don't know what will come from service.
So I am initializing my MatTableDataSource and displayedColumns dynamically in component like t...
Ameliaamelie asked 17/4, 2018 at 0:19
4
I am currently having trouble with my dataSource bean creation on condition of String property from my applications.yaml file.
Ideally, I would only like to create the dataSource bean only if the ...
Decompensation asked 8/9, 2017 at 14:27
3
Solved
I use HikariConfig as DataSource of postgres database on spring server.
Should I set up maxPoolSize? (default value is -1)
How much pool size can i use?
Are there any dependencies with hardware?
Taster asked 15/8, 2016 at 19:57
3
Solved
For some reason when adding or remove items from the DataSource (a simple BindingList) the ComboBox updates accordingly but if I edit an item like this, it doesn't update automatically:
myBindingL...
Sweeper asked 11/9, 2011 at 17:7
8
Solved
I have a DataGridView where I set DataSource:
taskerEntities te = new taskerEntities();
var OMsMasterDescriptiveIndicators = te.MyTable.Select(x => new lccls {Id = x.Id, name = x.name }).ToList...
Stoughton asked 22/9, 2013 at 8:54
4
Solved
I load the data in my material table like that :
ngOnInit(){ return this.annuairesService.getMedecins().subscribe(res => this.dataSource.data = res);}
I want show the spinner when is loading...
Stylographic asked 26/7, 2018 at 8:54
2
Solved
I'm not sure how to name data store classes when designing a program's data access layer (DAL).
(By data store class, I mean a class that is responsible to read a persisted object into memory, or ...
Fearless asked 16/8, 2010 at 9:32
3
What is a DataSource in java?
Can someone please explain me in simple language?
Unsung asked 3/4, 2017 at 9:39
9
Solved
Why am I getting "Unable to find the requested .Net Framework Data Provider" when trying to setup a new datasource in Visual Studio 2010 Professional?
My stats:
Windows 7 64bit 16gig RAM
Visual ...
Stanley asked 29/3, 2012 at 15:17
13
Solved
I use the MySQL Connector/Net to connect to my database by referencing the assembly (MySql.Data.dll) and passing in a connection string to MySqlConnection. I like that because I don't have to insta...
Sturdivant asked 20/11, 2010 at 22:16
6
Solved
I am reading the Java JDBC specification (vr. 4) and I encountred this statement:
DataSource — this interface was introduced in the JDBC 2.0 Optional
Package API. It is preferred over DriverMan...
Lempres asked 4/3, 2013 at 9:30
2
Solved
We are upgrading our existing Spring Boot (1.5) application to 2.0.0.
We connect with multiple databases and use the org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder class.
I added t...
Knockout asked 24/4, 2018 at 22:29
10
Solved
How can I configure and use two data sources?
For example, here is what I have for the first data source:
application.properties
#first db
spring.datasource.url = [url]
spring.datasource.username =...
Lilywhite asked 19/5, 2015 at 23:3
7
Solved
I am trying to connect my Servlet to mysql database using data Source . But whenever I run my servlet I end up getting this exception :
java.lang.AbstractMethodError: com.mysql.jdbc.Connection.isV...
Pickerelweed asked 25/9, 2015 at 13:49
1 Next >
© 2022 - 2024 — McMap. All rights reserved.