Skip to main content

All Questions

Tagged with
-2 votes
1 answer
53 views

which layer is more fit to check data integrity: service or database? [closed]

I read a book named Effective SQL and found this interesting part. Enforcing and maintaining business rules and relationships in the data is part of the data model, and the responsibility belongs to ...
bear su's user avatar
6 votes
4 answers
162 views

an algorithm that chooses the best games on steam

The code below will go through an excel spread sheet taken from kaggle, is named "SteamGames (71k games)" and the creator is "MEXWELL". inside the ...
Ellie's user avatar
  • 567
0 votes
1 answer
191 views

Movie library system

I want to implement a crud movie library system and also some filtering capabilities. Since it is so big, I have added the link to the code. https://github.com/neslihanbozer/Movie-Library. I am aware ...
Nesly's user avatar
  • 17
3 votes
1 answer
1k views

Testing DAO Delete User

I have several Dao classes, including a UserDao, below. The DAOs have many methods, but I'm focussing on deleteUser: ...
DozezQuest's user avatar
3 votes
0 answers
310 views

How can I filter and sort LinkedList faster and more effective?I have list of orders that should be processed

I have method that fetches all orders from Database and filtering, sorting that data(I know better to do It by specific query to Database but I dont know how). I have Order entity that has following <...
Justtoasktheneededquestions's user avatar
3 votes
1 answer
217 views

Meme (title with picture) exchanger

Project structure without code: Packages: Classes in packages: In ConfigConstants I store path to folder, where I save pictures. Also in ...
Miron's user avatar
  • 418
3 votes
4 answers
2k views

Java program to manage animal data and store them in text files

I made this program as a baby step to creating an animal shelter management system that will be used in a real life animal shelter. The goal is to move from text files to an online database, and from ...
Ameer's user avatar
  • 73
2 votes
1 answer
1k views

Employee database

To keep in practice with good techniques of java programming, I've decided to write a database. All it does it stores employees, allows users that are logged in to get/set employees, and has a login ...
Ben A's user avatar
  • 10.7k
2 votes
1 answer
2k views

Inserting 50k rows with Spring Data and JPA [closed]

I am using Spring Data JPA with Spring boot application. My requirement is to insert 50K rows in JPA entity table in one hour or less. I have 3 entities A, B and C. Entity A has a one to many ...
Pankaj's user avatar
  • 21
1 vote
1 answer
57 views

Handler for several kinds of requests to modify a database in an Android app

I'm working on an Android app, and at one point I need to retrieve a request code in a callback method and perform some database operations depending on the request code. It started out ok when there ...
Magnus's user avatar
  • 163
0 votes
2 answers
1k views

Fetching data from your database in a constructor

I have this item (an item is an object linked to a xml view), to build it I need 2 things, get labels from codes, and get text from the strings.xml android file. please ignore the long to int and int ...
sliders_alpha's user avatar
1 vote
1 answer
2k views

SpringData: filtering fields of Entity in Repository

My entity is Office. In office repository I would like to find all office Addresses: ...
Rudziankoŭ's user avatar
3 votes
1 answer
75 views

Name of language of translation

I am unhappy with my entity-relation-namings. The underliyng tables are named TRANSLATION and LANGUAGE. To contains translations like ...
Grim's user avatar
  • 596
4 votes
2 answers
720 views

Pausing and resuming a concurrent database update queue

I have a class DatabaseQueue which asynchronously runs SQLite updates that it takes from a LinkedBlockingQueue. I implemented a ...
kmecpp's user avatar
  • 143
7 votes
3 answers
2k views

Java JDBC: MySQL database-wrapper

I'm currently enrolled in a further education with the topic database administration. Among other chapters it contains how databases can be accessed from application-software. Because it lacks ...
michael.zech's user avatar
  • 4,814

15 30 50 per page
1
2 3 4 5