Sobes.tech

How is lazy loading of related data implemented using FetchType.LAZY in JPA?

Junior — Middle
276

What happens if you try to add a key-value pair to a HashMap where the value is null, and such a pair already exists with a fixed hashCode and equals returning true?

Middle
262

What is the difference between using @Spy and @Mock in testing?

Junior — Middle
257

What happens inside a HashMap when adding an element if the hashCode method returns the same value for all objects?

Junior — Middle
256

How do you implement working with dynamic queries in Spring Data JPA?

Junior — Middle
250

How can a large volume of data be efficiently ordered?

Junior — Middle
242

How does Spring manage nested transactions within a single component or method?

Junior — Middle
241

Does the bean with a prototype scope ensure safety in a multithreaded environment?

Junior — Middle
235

How to choose the appropriate bucket in HashMap for inserting an element?

Junior — Middle
225

Can you explain the principle of pessimistic locking and how it differs from other locking strategies?

Junior — Middle
224

Can you explain what is meant by the Java EE platform and what it is used for?

Junior — Middle
223

Tell us about your experience using database migration tools like Flyway.

Junior — Middle
221

What methods and tools do you use to implement pagination in applications?

Junior — Middle
221

What happens if you add a pair with null as the key or value to a HashMap?

Junior — Middle
214

How do you implement adding a new element to a HashMap data structure?

Junior — Middle
213

How does Kafka guarantee the security and integrity of transmitted data?

Middle — Middle+
213

Can you explain what happens when hash codes of different objects match in the hashCode() method?

212
/6