All Questions
13,984
questions
-1
votes
1
answer
18
views
Issue with Changing @Table Annotation to "users" in JPA Entity Class Using H2 Database
I'm encountering an issue with my Java application where changing the @Table name in my entity class causes the application to fail during tests and runtime. Here are the details:
Originally, my ...
-2
votes
0
answers
39
views
is there a way to store unschematised datas in sql database [closed]
mysql : 5.6 java : 11
Am in need of an mechanism to store unschematised data in my db. the case is as follows.
Objective :
To get all user from a 3rd party app and store it in db.
Problem facing :
...
-4
votes
1
answer
36
views
Deleting item from sqlite database have error [closed]
Deleting item from sqlite database error.
CustomAdapter
public class PassAdapter extends RecyclerView.Adapter<PassViewHolder> {
Context context;
MainActivity mainActivity;
private ...
0
votes
0
answers
9
views
DataNucleus for RDBMS Setup Issue: Meta-Data Not Enhanced or Multiple Persistence API JARs in CLASSPATH
What is the correct way to use Datanucleus for RDBMS (Database)?
My project setup is throwing this error:
SEVERE: Found Meta-Data for class org.example.core.project.model.Project but this class is ...
-1
votes
0
answers
55
views
` java.sql.SQLException: No suitable driver found for jdbc:derby://localhost:1527/supermarketdb [closed]
I've been trying to set up my own REST API for a school project. I decided to use Apache Derby as a database and I want to connect it with my web service, but apparently, I always get this error ...
0
votes
2
answers
53
views
"Microservices Using Database Per Service" pattern in practice
I am working on a project where I would like to use this pattern. I have read for days, but I am still not sure how to implement this pattern properly and keep the multiple DBs in sync.
Let's suppose ...
-2
votes
0
answers
36
views
@Value annotation dependency injection variable is null [duplicate]
I write an application that uses several connections to several databases. I created a Map that must contain the connection informations. The connections values are stored in the file application....
-2
votes
1
answer
56
views
Store database configuration in application.properties with spring and Java
I am writing an application that uses several connections to several databases. I created a Map that must contain the connection information. The connections values are stored in the file application....
-2
votes
0
answers
29
views
Building database management app, what language? [closed]
I work into administration and as a beginner programmer I wanted to build a database management application. For the choice of the language, What languages do I need? and why? am currently learning ...
0
votes
0
answers
19
views
Hibernate can't find a table from postgresql database [duplicate]
Well, I have a postgresql database and table:
Structure in postgresql
So, i want to get all records from "SheduleRecords" table using Hibernate.
Table structure:
All types are "...
0
votes
0
answers
30
views
Getting an error while trying to connect MS Access database to netbeans [closed]
I am getting the error
java.sql.SQLException: No suitable driver found for jdbc:ucanacess://C:/Users/jin06/OneDrive/Documents/NetBeansProjects/MazeMania/MazeManiaUserbase.accdb
package mazemania;
...
-1
votes
0
answers
35
views
Hibernate + Spring Boot: Handling "More than one row with the given identifier was found" Exception
I'm working on a Spring Boot application with Hibernate and encountering an issue where Hibernate throws "More than one row with the given identifier was found" exception. I'm using custom ...
1
vote
0
answers
30
views
Data Migration of multiple tables from one database to other using Spring Boot and Spring Batch
I want to migrate from one database to other using Spring Batch and Spring Boot. I have learnt that we have to declare @Bean for step, Job, JobLauncher, ItemWriter, ItemReader. But for those beans to ...
-1
votes
0
answers
18
views
Aggregated One-to-many field not being saved properly into the database with Spring Data
I'm trying to make a simple restful app and got stuck on testing the repo level.
For the educational purpose it's not allowed to use Spring Boot.
I need to have a One-to-many, Many-to-Many, Many-to-...
1
vote
0
answers
27
views
How to setup optimistic locking for overlapping datetime?
I am trying to make a booking system, where users can book a booking at a location for a certain time period. The problem I am having is, 2 entries that happen at the same time and overlap in the time ...