Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

In Hibernate 6, a field annotated with @Column @NotNull private Set<String> issueTypeLabels mapped to a Postgres VARCHAR ARRAY column generated: public static volatile SingularAttribute<...
rento's user avatar
  • 134
0 votes
1 answer
33 views

I have made a searchable combo box for use in a Java Swing program. Here is how I would like it to work: When clicked, it opens up the options list and enables typing in the box to let the user ...
Ian McInnes's user avatar
Advice
0 votes
4 replies
110 views

I want to play this obscure Java-based game from 2000, one that was graciously provided by the Internet Archive (https://archive.org/details/diamond-mine-java). The contents of the game's files look ...
Genostix's user avatar
0 votes
1 answer
47 views

I am implementing an observability layer in a Spring Boot 3.2.0 ecosystem to ensure distributed tracing across multiple microservices. I have a ContextInterceptor that captures a correlation-id from ...
Kauan Oliveira's user avatar
1 vote
1 answer
60 views

In my unit test I want to use my custom implementation of PhysicalNamingStrategy: public class CustomPhysicalNamingStrategyStandardImpl implements PhysicalNamingStrategy { @Override public ...
Paul's user avatar
  • 11
-1 votes
0 answers
31 views

I am using arthas https://github.com/alibaba/arthas to tracing the function time, this is the command look like: trace com.baomidou.mybatisplus.core.mapper.BaseMapper selectOne -n 5 --skipJDKMethod ...
Dolphin's user avatar
  • 41.2k
0 votes
2 answers
55 views

I'm not able to set the initial window size. The app always displays 200x200. public class tcase extends Application { @Override public void start(Stage primaryStage) {...
codeDr's user avatar
  • 1,732
Advice
1 vote
2 replies
114 views

I am currently a 3rd-year Computer Engineering student from a tier-3 college in India. I know basic Java, DSA, and I have started learning web development. I am confused about career direction because ...
Musab Shaikh's user avatar
-1 votes
0 answers
57 views

I configured my spring application to interact with flyway for a data migration but flyway seems not to be working. My application.properties file is in the resources package spring.application.name=...
Gnome's user avatar
  • 41
Advice
0 votes
3 replies
126 views

If I run Java 25 JShell with Java Object Layout library (JOL) without any JVM settings and measure the memory cost in bytes of a Predicate<String> I see the following: $ jshell --class-path ~/....
Donald Raab's user avatar
  • 6,991
1 vote
2 answers
138 views

I use: @Configuration public class AsyncConfig { @Bean(name = "virtualExecutor") public ExecutorService newExecutor() { return Executors.newThreadPerTaskExecutor( ...
Roshin Raphel's user avatar
2 votes
2 answers
114 views

I am new with Spring still learning it and I see a post that when I use @Autowired in a class but this post not specified where the annotation is Spring use reflection to create the bean and then ...
Mostafa Abdelfatah's user avatar
0 votes
1 answer
61 views

When using hibernate legacy Criteria API and filtering on a `many-to-one` association while only retrieving the base entity type, the produced SQL still adds all columns of the association to the ...
djmj's user avatar
  • 5,594
1 vote
2 answers
97 views

I have a quite old Java spring app with beans defined in XML. I need to conditionally switch off one of those beans (it's a dbcp2 data source to a database server that's being shut down), so what I'd ...
nigelg's user avatar
  • 181
Advice
0 votes
5 replies
167 views

So I was looking up java interview questions and this one got me confused. I checked on Geek for Geeks and it says that they are stored in Metaspace with Class'es meta info and bytecodes while ...
Akbar  Amanov's user avatar

15 30 50 per page
1
2 3 4 5
127754