use the character encoding in the property of persistence.xml file
<property name="javax.persistence.jdbc.url"
value="jdbc:mysql://localhost:3306/blogdatabase?useUnicode=yes&characterEncoding=UTF-8"/>
More Related Contents:
- JPA EntityManager: Why use persist() over merge()?
- JPA 2.0, Criteria API, Subqueries, In Expressions
- When use getOne and findOne methods Spring Data JPA
- Create JPA EntityManager without persistence.xml configuration file
- Spring Data JPA And NamedEntityGraphs
- How to persist JSR-310 types with Spring Data JPA?
- Is it possible to output generated SQL using EclipseLink without having to increase log verbosity?
- JPA passing list to IN clause in named native query
- Spring batch jpaPagingItemReader why some rows are not read?
- JPA 2.0 native query results as map
- kotlin data class + bean validation jsr 303
- JPA transient information lost on create
- How do I do a “deep” fetch join in JPQL?
- Testing an EJB with JUnit
- Spring Data JPA and Querydsl to fetch subset of columns using bean/constructor projection
- JPA Query to handle NULL parameter value
- JPA Criteria API group_concat usage
- How do I count the number of rows returned by subquery?
- What’s the difference between UTF-8 and UTF-8 without BOM?
- u’\ufeff’ in Python string
- Spring Boot – Cannot determine embedded database driver class for database type NONE
- What is the maximum number of bytes for a UTF-8 encoded character?
- Manually converting unicode codepoints into UTF-8 and UTF-16
- How to use @Transactional with Spring Data?
- Removing “utf8=✓” from Rails 3 form submissions
- What encoding does open() use by default?
- How to make python 3 print() utf8
- @Autowired vs @PersistenceContext for EntityManager bean
- Hibernate native query – char(3) column
- How to force Hibernate to return dates as java.util.Date instead of Timestamp?