Sobes.tech

What is the role of the @Embeddable annotation in ORM tools?

Junior — Middle
227

What characteristics should a class have to be used correctly as an entity in Hibernate?

Junior — Middle
227

What methods can reduce the number of conditional operators in code and improve its readability?

Junior — Middle
224

How do you implement transaction management using the @Transactional annotation?

Junior — Middle
222

How are access control mechanisms implemented to prevent thread or process conflicts when sharing resources?

Junior — Middle
221

Is the @PreDestroy annotation applicable to beans with prototype scope in Spring?

Junior — Middle
218

What is the role of the @SpringBootTest annotation and when is it used in testing Spring Boot applications?

Junior — Middle
218

What are the advantages and disadvantages of using the findBy method in JPA for data retrieval?

Junior — Middle
209

What is the purpose of the @ExtendWith annotation in Java tests and what does it indicate?

Junior — Middle
209

How can properties from application.properties be injected into a bean in Spring?

Junior — Middle
208

Explain what the Multiple Bug Exception means and in what situations it is used.

Junior — Middle
208

What is the purpose of annotations @Component, @Repository, and @Service in Spring, and how do they differ?

Junior — Middle
206

Can you tell about the scope of beans and their purpose?

Junior — Middle
206

Is it possible to register custom bean scopes in the context of dependency injection?

Junior — Middle
205

How to identify the most effective places for creating indexes in a database?

Junior — Middle
204

What types of links are used in Java?

Junior — Middle
202

How is the hash value calculated for a key in a Map data structure?

Junior — Middle
201

What stages does a test case go through in unit testing?

Junior — Middle
200

Can you explain the purpose and main features of the java.util.concurrent package in Java?

Junior — Middle
199

What types of locks are most efficient in terms of performance?

Junior — Middle
198
/5