The Spring JPA series

In the next coming weeks, we will publish a series of articles about Spring and JPA. Below you will find the posts of the series so far. Note that we will keep releasing new content. So stay tuned 😉

 

Getting started:

 

  1. Getting started with Spring boot 2 and JPA
  2. Configuring and mapping existing database tables to JPA Entity classes

 

Troubleshooting:

If you are experiencing errors, then please try out our troubleshooting guides below:

 

CauseExceptionException message
Mixing property and field annotationsorg.hibernate.MappingExceptionCould not determine type for: xxxxx, at table: xxxxxxx, for columns: [org.hibernate.mapping.Column(xxxxxxx)]
Data consistency on both sides of a bidirectional relationship not maintainedoorg.hibernate.exception.ConstraintViolationException / org.springframework.dao.DataIntegrityViolationExceptionnot-null property references a null or transient value