Skip to main content

Questions tagged [jdbc]

JDBC (Java DataBase Connectivity) is the base API which enables interacting with SQL database servers by executing SQL statements using the Java programming language.

2 votes
1 answer
109 views

This is order, orderitems and payment linked by foreign key. Controller: ...
yoda's user avatar
  • 277
7 votes
3 answers
502 views

Requirements: Add/Delete member. Add/Delete book. Issue/Return book. Review Request: General coding comments, bad practices, style et cetera. Code: Main.java: <...
Haider Ali's user avatar
3 votes
0 answers
85 views

I'm learning about Kotlin coroutines. I'm wondering if I can use them to increase the throughput of my spring-boot application which is currently very heavily dependent on jdbc connections, without ...
Jake's user avatar
  • 131
9 votes
2 answers
970 views

This JavaFX program is just supposed to allow a user to register a username and password and then have it stored in an SQL database. There's been some criticism that it's not clean, readable or ...
Soco's user avatar
  • 153
1 vote
1 answer
452 views

I need to insert many million rows + many GB of data into a database for a project that uses Spring boot. I recreated a minimal example with a one to many relationship and am trying to find the ...
Pux's user avatar
  • 155
5 votes
3 answers
731 views

I needed something to map named SQL parameters into indices for JDBC queries so I wrote the ParameterMap class that takes an SQL query, searchers for parameters ...
t3chb0t's user avatar
  • 44.7k
3 votes
1 answer
133 views

I'm currently working on a company management system as a university project, and I have to get my hands in java.sql. I have come to struggle with extracting a ...
Thomas Herondale's user avatar
0 votes
2 answers
177 views

What does the code do? Albeit unfinished (it does work, it's just not complete yet), the code creates a database (members.db) where telephone numbers, IDs, and ...
telometto's user avatar
  • 119
3 votes
1 answer
1k views

I have several Dao classes, including a UserDao, below. The DAOs have many methods, but I'm focussing on deleteUser: ...
DozezQuest's user avatar
1 vote
1 answer
94 views

I have method that fetches sorted and filtered data from Mysql Database, Firstly I had done It by using Java. Now I did it by Mysql but I don't like the way the code looks I have entity that named ...
Justtoasktheneededquestions's user avatar
5 votes
3 answers
3k views

This is regarding code quality and coding standards with respect to Spring Ecosystem. Here there are two methods: isRecordExists is using a class level static ...
Mohammad Javed's user avatar
4 votes
2 answers
129 views

I was following this tutorial for JavaFX and Gradle: JavaFX with Gradle, Eclipse and, Scene Builder on OpenJDK11 After completion of the tutorial you will have a simple GUI which you input a lower ...
Victor's user avatar
  • 165
4 votes
3 answers
3k views

I am using Java 7 Problem: I need to retrieve records from a database table based on a condition, orig_setting = 1. This query could return ~1000 records. Parameters from 1-7 of the Params object are ...
Sara's user avatar
  • 161
2 votes
0 answers
79 views

I have been using and developing a simple ORM and query builder library that I have found useful in it's practical application. I am pretty sure there are improvements to be made, and I welcome any ...
rmalchow's user avatar
  • 121
5 votes
4 answers
375 views

I'm going through some code and trying to figure out how to get rid of duplicates from the following two methods. Both methods execute a simple login/register query to a local MySQL DB. I couldnt ...
arodin's user avatar
  • 83

15 30 50 per page
1
2 3 4 5 6