Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
9 votes
2 answers
948 views

JavaFX app with User Authentication and SQL Persistence

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
3 votes
1 answer
183 views

Getting all column vs. table regardless of alias using JSqlParser

I have been trying to get all column vs. table regardless of alias used, for example, assume this query ...
srilakshmikanthanp's user avatar
0 votes
1 answer
71 views

Evaluate my program with Java Mail + Sql + Swing

I'm 16 years old and no one to help me, no one to give any advice or constructive criticism, I'm aimless. I'll leave the link to my last code (github), a program that sends an email to everyone ...
Davi Ribeiro's user avatar
2 votes
1 answer
147 views

program that sends an email to everyone registered in the database

I'm 16 years old and no one to help me, no one to give any advice or constructive criticism, I'm aimless. I'll leave the link to my last code (github), a program that sends an email to everyone ...
Davi Ribeiro's user avatar
6 votes
1 answer
97 views

Delete Entry from SQL-Table and confirm the deletion to a CommandSender in a spigot plugin

I'm working on a spigot plugin, that deals with messages to from players on a server to the admin's. It's the same plugin this question relates to: SQL structure to save coordinates for spigot plugin ....
monamona's user avatar
  • 475
5 votes
1 answer
2k views

Generic solution to Hibernate's CriteriaQuery

I've created a little class which helps me to generalize many query cases. I have a DbService and couple methods in it. Can you please take a look at it and share some criticism? The usage of that ...
stefan.georgiev.uzunov's user avatar
7 votes
4 answers
3k views

Simplifying constructing native SQL query with nested if-else's

I've a method which is used to build a native sql query. I've 4 String builder as input and based on different conditions, I need to build my query. Here is the code ...
jasmeet24's user avatar
  • 181
2 votes
1 answer
563 views

Generating and storing a unique salt in Oracle database using Java

This is my account table: ...
Lebron11's user avatar
  • 143
3 votes
1 answer
254 views

SafeBlockPopulator to ensure neighboring chunks are generated before population

Bukkit/CraftBukkit/Spigot are Minecraft server extenders that allow for creating and using plugins. A particular type of plugin is a generator, which creates the game world. Generators operate chunk-...
Michael Brandon Morris's user avatar
3 votes
1 answer
945 views

Static class for database access Java JDBC

I'm writing a small program to store data in a database (a discord bot mainly). I know cleaner ways of using dependency injections and DAO exist, but I haven't written a DAO (or the user class) and ...
QuyNguyen2013's user avatar
1 vote
2 answers
2k views

Using decorator and strategy pattern for dynamically generating SQL queries

This is a link to my application that actually runs on the design specified in the image. The idea behind the image is that the SubjectInfoViewer behaves as the ...
Muhammad Luqman's user avatar
3 votes
1 answer
246 views

ToDoApp - adding users, managing tasks, getting tasks

I've implemented a console ToDo application. I would like to hear some opinions about it, what should I change etc. About project: It is intended to manage everyday tasks. Application contains: ...
pipilam's user avatar
  • 183
-3 votes
1 answer
64 views

Is there a different way of implementing this program without using nested while loop? [closed]

Presently my program is working properly, but how do i implement this program without using nested while loop(one while loop within another while loop).This is a kids way of programming and my office ...
david mathew's user avatar
1 vote
3 answers
4k views

Login module with JDBC

I made simple login module that is responsible for handling registration, and signing in my application. How can I improve this code? Are there any conventions for this case? The idea is to create ...
jas97's user avatar
  • 13
1 vote
3 answers
183 views

Resume code of a SQL selecting function in Java

I am new to Java so I started to learn by doing. Right now I am developing a store management software. I'm trying to do it the right and clean way, so I'm looking for some reviews of my code. The ...
adel adeel's user avatar

15 30 50 per page