1,918,194 questions
0
votes
1
answer
29
views
Spring Boot 4.0.0. cannot resolve symbol DataJpaTest
I am new to Java and Spring Boot. I am building a small CRUD app to learn about JPA and the H2 database.
This is my POM file:
<?xml version="1.0" encoding="UTF-8"?>
<...
-3
votes
0
answers
27
views
Updating a spring boot component from an Async-annotated function [closed]
I have a Spring Boot process where I have three classes of interest (Service.java, AsyncTaskManager.java, SessionManager.java). I use Service.java to process requests from the Controller, ...
-9
votes
0
answers
42
views
recursive division for mazes [closed]
I posted earlier and I improved my code, but I have a real hard time for setting the recursive method at the end of my first division. Can someone help me please? This is my method for the division:
...
0
votes
0
answers
21
views
Performing Peer - Peer connection with Turn server
I'm writing an application for a peer to peer service with a TURN server, but I'm struggling to construct one. If my understanding is correct, there are three steps needed for a successful peer to ...
2
votes
1
answer
23
views
Syper CSV CsvBeanWriter giving SuperCsvReflectionExceptionerror extracting bean value for field name error
public class csvtest {
public void main(){
CsvWriter();
}
private static CellProcessor[] getProcessors(){
final CellProcessor[] processors=new CellProcessor[] {
...
-3
votes
0
answers
21
views
Java Thrift service stops accepting requests when downstream dependency has high latency - why? [closed]
We have a Java Thrift service that makes RPC calls to a downstream dependency. The calls are made asynchronously using Guava's Futures.addCallback:
javaFuture<Response> future = dependency....
0
votes
1
answer
55
views
Reversal of Linked List with head and tail node recursively
I am trying to reverse a singly linked list recursively.
When I run the code, my output for 1->2->3->4 is 4->1.
I am unable to understand why the link for the middle nodes is breaking.
...
-8
votes
0
answers
64
views
mazes generation using recursive division [closed]
I am a student in first year of computer science, and for my semester project I have to create a 2D game with mazes. I have to write an algorithm that creates mazes using the recursive division, and I ...
Advice
0
votes
2
replies
33
views
Can I use vibe coding tools with wpilib?
Today, I'm learned google launched new vibe coding tool, That name is Antigravity.
I heard Antigravity is based on vscode therefore I want to learn can I use wpilib with that tool. Also, I'm asking ...
-4
votes
0
answers
37
views
Spring Boot 2.x→ 3.x migration slowed down query with JSON column mapping — what changed? [closed]
I recently upgraded a Spring Boot application from 2.x to 3.x (Hibernate 5 → Hibernate 6).
After migration, a hibernate query that fetches rows containing a JSON column mapped to an object in the ...
Best practices
0
votes
0
replies
24
views
Efficient way to update 100k–200k Couchbase documents using Java SDK in a transactional setting
I am using the Couchbase Java SDK and need to update a field in a large number of documents (100k–200k).
The update depends on three fields, and I must update a fourth field inside a transactional ...
Best practices
0
votes
0
replies
25
views
What is the most efficient way to validate file data against Couchbase documents using Spring Batch— N1QL timestamp range, KV lookups, or USE KEYS?
I have a validation use-case where an input file contains a list of records that were updated at a certain timestamp. I need to verify that the data in the file matches the data stored in Couchbase.
...
-3
votes
1
answer
81
views
java File handling beginner [duplicate]
I have a beginner question, when i write a java code for creating or opening a file it doesn't create my file in the current folder where i saved my program instead it will say file not found ...
0
votes
0
answers
48
views
Resize JFrame when moving to new screen
I have two monitors with different resolutions. I would like for a JFrame to dynamically resize when dragged to a different monitor.
When dragging to a new frame, the label will update, but the frame ...
2
votes
1
answer
55
views
Is it possible to inspect method invocations on a JDBI DAO using aspect-oriented programming?
We mostly use Jdbi.onDemand with DAO interfaces to interact with our RDS.
I'm trying to get visibility of when each DAO method is invoked.
We have hundreds of methods across dozens of interfaces, so ...