428 questions
1
vote
0
answers
40
views
Conditional data sources in SpringBoot integration test
I have a SpringBoot app and I have added JUnit5 integration tests that use testcontainers:
class ControllerClassTest extends AbstractIntegrationTest {
@ParameterizedTest(name = "{0}")
...
-1
votes
1
answer
76
views
JDBC won't connect to a database in .java program with the derby ij tool open after I disconnected from the database in Ij
I have a UserDataDB that I cannot get a connection to in a Java program after I was connected to it in Windows CMD. With java org.apache.derby.tools.ij open in CMD I connect to UserDataDB and ...
2
votes
0
answers
139
views
Hsqldb and PostgreSQL string_agg: object not found
My Spring Boot web application uses PostgreSQL v12 for production and h2 v2.1.214 embedded database for unit testing.
It worked well until I have a native query to test.
This query uses the string_agg ...
1
vote
0
answers
39
views
Why foreign key is invalid in eXtremeDB?
I installed eXtremeDB emebeded on my Ubuntu 20.04, and tried following commands:
CREATE TABLE coops (id1 INT NOT NULL, name string NOT NULL, PRIMARY KEY (id1));
CREATE TABLE factories (id INT NOT ...
1
vote
0
answers
761
views
Issue with persisting data using de.flapdoodle.embed.mongo
I'm having trouble with persisting data using de.flapdoodle.embed.mongo. I've followed the documentation and examples I found online, but when I shut down my application, the data disappears.
Here's ...
0
votes
1
answer
480
views
Spring data per request repository on in memory database
I'm writing a RESTful web service using spring boot. For some computations could be useful load input data into a table of an in memory database (e.g. Hsqldb) and do some aggregations and calculus. ...
0
votes
1
answer
143
views
c++ embedded database to store numeric data coming from stl vectors and retrieved through stl vectors?
i'm looking if there is any database with c++ interface in order to store and receive numeric data (int,unsigned int, doubles,floats etc) but also strings.
My application usually contains data in the ...
2
votes
2
answers
8k
views
postgresql as an embedded Database
Need a small help regarding the embedded version of PostgreSql. I see that we can create an embedded form of PostgreSql https://github.com/zonkyio/embedded-database-spring-test . But the page ...
0
votes
0
answers
240
views
Can realmdb be used as embedded database in a springboot or any other standalone application?
We are looking for an embedded database that ships with application jar file and runs along side the application. This database should also sync data with Mongodb Atlas. We have found Realmdb to be a ...
1
vote
0
answers
248
views
How do I set the encoding for non-Latin characters in zonky Embedded?
I have a spring-boot application. I use a postgres database. Migration of the database is done with liquibase. When executing liquibase changesets I fill some tables, with some characters. For testing,...
3
votes
0
answers
1k
views
Connecting to existing in-memory H2 from different application/process
I have a simple Quarkus application that uses an in-memory H2 database. The JDBC connection string has some custom settings: jdbc:h2:mem:quarkus_db;DATABASE_TO_LOWER=TRUE;DB_CLOSE_DELAY=-1;MODE=...
0
votes
2
answers
1k
views
How to work with multiple connections to a single database?
I'm new to stack overflow and I am currently using NetBeans with java to make a desktop app where multiple users can access one database at the same time. But unfortunately, I tried several codes ...
1
vote
1
answer
648
views
Integration tests sometimes throw "java.lang.IllegalStateException: Data source context must be initialized"
It seems to happen randomly when running integration tests that need docker.
Happens only on Windows.
stack trace:
java.lang.IllegalStateException: Data source context must be initialized
at io....
0
votes
0
answers
2k
views
How to use RocksDb to make many concurrent writes and reads without database loosing data between hosting desktop app launches?
I'm building a product, Zet Universe, that enables users to work with data coming from different sources in one place. It's a desktop app for Windows, it has multiple plugins that obtain data from ...
3
votes
1
answer
247
views
RavenDB embedded with Raven Management Studio?
Is it still possible to use the Raven Management Studio with embedded? I only find 10 year old Questions with guides that use Parameters/options that don't exist anymore.