Arrays are a common data type in Java and part of the SQL-99 standard. So, it should be easy and quite common to use them with Hibernate, right?
Most developers try to avoid using arrays in their persistence layers. There are several reasons for that
In this video, I will show you how to use an array as a data type with Hibernate and the different pitfall’s you should avoid.
Links mentioned:
Hibernate Tips: How to use @ElementCollection entries in a query : https://thorben-janssen.com/hibernate...
Like my channel? Subscribe!
➜ http://bit.ly/2cUsid8
Join the free Member Library:
https://goo.gl/dtyIIC
Read the accompanying post: https://thorben-janssen.com/mapping-a...
Want to connect with me?
Blog: https://thorben-janssen.com/
Twitter: / thjanssen123
Facebook: / thoughtsonjava
#Hibernate #JPA #mapping #array