Skip to content

datmt

Hands on projects

  • Home
  • Privacy Policy
  • Cookie Policy (EU)
  • Contact
  • Home
  • Privacy Policy
  • Cookie Policy (EU)
  • Contact

Understand Hibernate @ManyToOne, @OneToMany With Examples

Understand Hibernate @ManyToOne, @OneToMany With Examples

Updated on August 7, 2023 by Đạt Trần

Overview @ManyToOne and @OneToMany are standard mappings in Hibernate. Understanding how to use them correctly is the...

Using Custom Converter In Hibernate

Using Custom Converter In Hibernate

Updated on July 31, 2023 by Đạt Trần

Overview Imagine this scenario, you have a legacy database that store weather data. The previous developer, due to va...

Using @ColumnTransformer In Hibernate

Using @ColumnTransformer In Hibernate

Updated on July 31, 2023 by Đạt Trần

Overview One of the lesser-known yet powerful annotations in Hibernate is @ColumnTransformer. This annotation let us ...

How To use @Formula in Hibernate

How To use @Formula in Hibernate

Updated on July 31, 2023 by Đạt Trần

Overview From the official documentation, a Formula mapping defines a “derived” attribute (that means, no...

Understanding @Embedded and @Embeddable In Hibernate

Understanding @Embedded and @Embeddable In Hibernate

Updated on July 31, 2023 by Đạt Trần

Overview Using @Embedded and @Embeddable in hibernate can help you manage entities and their value type efficiently. ...

Understanding Candidate Keys, Primary Key, Natural Key, and Surrogate Keys in Hibernate

Understanding Candidate Keys, Primary Key, Natural Key, and Surrogate Keys in Hibernate

Updated on July 31, 2023 by Đạt Trần

Overview In this article, I will delve into the concepts of candidate keys, primary keys, natural keys, and surrogate...

Posts navigation

Older posts

Copyright Ⓒ datmt