This page features a collection of my Baeldung articles focused on Java. I aim to offer readers insightful tutorials and practical guides that enhance their understanding.
If you’re interested, check out my articles below:
- Representing Furthest Possible Date in Java
- How to Effectively Unit Test CompletableFuture
- Comparison of for Loops and Iterators
- Convert Excel Files to PDF Using Java
- Sending Data to a Specific Partition in Kafka
- Validate if a String Is Valid Geo Coordinate
- Difference Between a Future and a Promise in Java
- PriorityQueue iterator() Method in Java
- Check if Two Date Ranges Overlap
- Read and Write Files in Java Using Separate Threads
- Creating Custom URL Connection
- CountDownLatch vs Semaphore
- Translating Space Character in URLEncoder
- Find First Non-repeating Element of a List
- View Kafka headers
- Understanding Kafka InstanceAlreadyExistsException
- CompletableFuture runAsync vs supplyAsync
- Difference Between thenApply and thenApplyAsync in CompletableFuture
- @DataJpaTest and Class Repository in JUnit
- Query Hints in Spring Data JPA
- Checking If a Date Object Equals to Yesterday in Java
- Find the Majority Element of an Array
- Refresh and Fetch an Entity After Save in JPA
- Guide to ExecutorService vs CompletableFuture
- Get List of Entity from Database in Hibernate
- Querying JSONB Column Using Spring Data JPA
- Join Two Tables Using JOOQ
- Get Nextval From Sequence with Spring JPA
- Introduction to Simple Java Mail
- Inheritance vs Composition in JPA
- Convert an Optional to an ArrayList in Java
- How to implement Elvis operator in Java 8
- Finding the Next Higher Number with the Same Digits
- Check if a Number Is Power of 2 in Java
- Finding the Second Smallest Integer in an Array in Java
- Convert decimal to fraction in Java
- Calculate 1’s Complement of a Number in Java
- Load() vs Get() in Hibernate
- How to Pass Method as Parameter in Java
- Java Enums, JPA and PostgreSQL Enums
- Fixing the “Could Not Determine Recommended JdbcType for Class” Error in JPA
- How to fix PSQLException “column is of type json but expression is of type character varying”
- Difference Between Hasitems(), Contains() and ContainsInAnyOrder() in Hamcrest
- How to Fix PSQLException: Operator Does Not Exist: Character Varying = UUID
- Guide to FileChannel vs. FileOutputstream
- Validation using the Spring Validator Interface
- Multiple Criteria in Spring Data Mongo DB Query
- How to Convert Gson JsonArray to Hashmap
- Convert a ResultSet from PostgreSQL Array to Array of Strings
- How to Read Text Inside Body Mail
- Sequence Naming Strategies in Hibernate 6
- Difference between Cast and Treat in JPA
- Read and Write to IBM MQ Queue Using Java JMS
- How to Clone a JPA Entity
- Filter a List by Nested Lists in Java
- Check if the Given String Is a Valid Number
- Transform a Future into CompletableFuture