close
Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
0 replies
28 views

Why does https://github.com/quarkusio/quarkus/blob/main/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheRepositoryBase.java method findByIds(List&...
Kawu's user avatar
  • 14.1k
0 votes
0 answers
69 views

I created a MyApplication.java file following the tutorial under the URL linked below using maven. https://docs.spring.io/spring-boot/tutorial/first-application/index.html import org.springframework....
PEREZ MONSIVAIS JOSE DE JESUS 's user avatar
Best practices
0 votes
12 replies
138 views

I think ordering the characters in two arrays a useful first step to solve leetCode's problem 567. Permutation in String: Given two strings s1 and s2, return true if s2 contains a permutation of s1, ...
Keerthi Kodali's user avatar
-4 votes
1 answer
101 views

I am learning Java and arrays in my programming course. I am trying to fill an array of size 5 using a for loop. My understanding is that the array positions should go from 0 to 4. However, when I run ...
EMILYN VERENICE RECINOS's user avatar
-11 votes
0 answers
139 views

I am learning about type casting in Java, and I noticed that my calculation produces a different result than I expected. public class Main { public static void main(String[] args) { double ...
LEANNY YAILE ALVEÑO GOMEZ's user avatar
Advice
0 votes
1 replies
102 views

I am moving from standalone Java applications to building Spring Boot projects, and I am confused about the mechanical overlap between Spring Initializr (start.spring.io) and the Maven Central ...
KESHAV sharma's user avatar
0 votes
1 answer
67 views

I created an apache jena TDB using tdbload , the database contains statements: tdbquery --loc=/path/to/TDB.rdfs --query=query.sparql (... OK output rows.... ) Now, I'd like to query (read-only) this ...
Pierre's user avatar
  • 35.4k
Best practices
1 vote
3 replies
81 views

I'm going to parse mp4 metadata according to this example: ... BodyContentHandler handler = new BodyContentHandler(); Metadata metadata = new Metadata(); FileInputStream inputstream = new ...
Thomas P's user avatar
  • 163
1 vote
2 answers
112 views

I have the following code that creates a ResponseEntity for the response of a Spring app. Is there any more efficient way of doing this method? @GetMapping("/api/payments/reservation/{...
mikelauskas's user avatar
-1 votes
2 answers
131 views

I am currently developing a backend feature where multiple worker threads need to track and update the access frequency of shared resources in memory. Initially, I used a standard HashMap, but I ...
CELSO GABRIEL SARCEÑO CORADO's user avatar
-4 votes
0 answers
131 views

I am currently implementing a hierarchical structure management system using an N-ary tree in Java. Each node contains a list of children, and the data is mapped from a database. To traverse the tree ...
CELSO GABRIEL SARCEÑO CORADO's user avatar
0 votes
3 answers
77 views

How to implement a database requests counting method in a Spring Boot application and implement it in unit tests. I saw the assertSelectCount method in the examples on Baeldung, but I don't know how ...
haoz's user avatar
  • 47
Advice
0 votes
0 replies
50 views

I’m an intern and I’ve been asked to help migrate a small Java app from Jersey/Jetty to Spring Boot. The app is not very big. From what I’ve seen so far, it mainly exposes a few REST endpoints and ...
Moncef Ahmane's user avatar
Advice
0 votes
20 replies
204 views

i have just completed my first year , CSE core engineering , i want to pursure as my career path , i have basic knowledge of python , cpp,c ,java,[can write a code for a probelm in a compiler window , ...
Aayush Bhardwaj's user avatar
Best practices
0 votes
3 replies
85 views

I am learning MVC in Java I am trying to separate the logic from the JFrame using a controller class. The problem is that my button does not execute the controller method when clicked. View: public ...
MATEO's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
127718