Explore two file I/O methods: FileOutputStream and FileChannel.
Also find me here:
Baeldung Author
Wynn Teo
I’m Wynn, a Full-stack Developer with a 10+ years of experience. I began my journey in the tech world during my university days in Singapore, and coding has been my passion ever since. I enjoy learning, especially when it comes to all things tech. The journey of gaining knowledge is what keeps me going.
Here's what I've written (so far):
Baeldung on Java
- All
- JPA (9)
- Spring Data (6)
- Java Concurrency (6)
- Persistence (5)
- Java IO (5)
- Java (4)
- Web Services (3)
- Spring (3)
- Java Numbers (3)
- Java List (3)
- Java Array (3)
- HTTP Client-Side (3)
- Testing (2)
- Spring Boot (2)
- Networking (2)
- Java String (2)
- JSON (2)
- Data (2)
- Core Java (2)
- Algorithms (2)
- Security (1)
- REST (1)
- NoSQL (1)
- Java Map (1)
- Java Dates (1)
- Java Collections (1)
- Cloud (1)
Resolving PostgreSQL JSON Type Mismatch Errors in JPA
Explore how to address the PSQLException error “column is of type json but the expression is of type character varying” that arises when using JPA to map Java objects to PostgreSQL JSON columns.
How to Fix PSQLException: Operator Does Not Exist: Character Varying = UUID
Filed under JPA
Delve into why this error occurs, identify common scenarios that trigger it, and see how to resolve it.
Difference Between hasItems(), contains(), and containsInAnyOrder() in Hamcrest
Filed under Testing
Explore the difference between Hamcrest’s hasItems(), contains() and containsInAnyOrder().
Java Enums, JPA and PostgreSQL Enums
Filed under JPA
Learn how to to create a seamless mapping between Java enums and PostgreSQL enums.
Fixing the “Could Not Determine Recommended JdbcType for Class” Error in JPA
Filed under JPA
Explore the causes of the “could not determine recommended JdbcType for class” error in Hibernate and learn how to resolve it.
How to Pass Method as Parameter in Java
Filed under Java
Learn how to pass a method as a parameter to another method using functional programming concepts: lambda expressions, method references, and functional interfaces.
Calculate One’s Complement of a Number
Filed under Java Numbers
Learn about one’s complement and how to calculate it in Java using three approaches.
load() vs. get() in Hibernate
Filed under Persistence
Explore the fundamental differences between the get() and load() methods in Hibernate.