Implement a custom enum mapping with an AttributeConverter

  Рет қаралды 7,348

Thorben Janssen

Thorben Janssen

Күн бұрын

Пікірлер: 3
@m_sharif
@m_sharif Жыл бұрын
The best solution i came across to this date.. I also wonder why still there is no simple annotation to do it all behind the scene.
@puspendertanwar9378
@puspendertanwar9378 6 жыл бұрын
Hello Thorben, 1. Wouldn't this approach adds an overhead to document the shortName explaination? If I am a DBA- "N", "S", "P" are not known to me, so developer need to document it e.g "N" stands for NOT_PUBLISHED, right?
@renatobaratagomes5963
@renatobaratagomes5963 6 жыл бұрын
Very good video! Saved the problem I had for monthes! Thanks.
Enum Mappings with Hibernate - The Complete Guide
9:25
Thorben Janssen
Рет қаралды 7 М.
Hibernate Tip: How to map an Enum to a database column
4:09
Thorben Janssen
Рет қаралды 10 М.
Java Enums Explained in 6 Minutes
5:58
Coding with John
Рет қаралды 275 М.
How to call native SQL queries with JPA and Hibernate
13:46
Thorben Janssen
Рет қаралды 4,7 М.
Java Enum + Spring Data + PostgreSQL Enum
15:13
Backend Online
Рет қаралды 1,6 М.
How to map Enums to DB tables | JPA | Hibernate | Java
9:27
TheCodeAlchemist
Рет қаралды 323
Improved mapping of ZonedDateTime and OffsetDateTime in Hibernate 6
10:21
Java Tutorial #59 - Java Enum Map Class with Examples (Map Data Structure)
7:57
Programming For Beginners
Рет қаралды 2,3 М.
How to map an association as a java.util.Map
9:28
Thorben Janssen
Рет қаралды 4,8 М.