Spring Data JPA Tutorial - #10 - Use Hibernate @CreationTimestamp and @UpdateTimestamp & Add Lombok

preview_player
Показать описание
Hi, welcome to the Spring Data JPA tutorial series/course.
In this lecture, we will learn how to use Hibernate annotations @CreationTimestamp and @UpdateTimestamp. We will see how to add the Lombok library to our Spring boot application.

Spring Data JPA is used to reduce the amount of boilerplate code required to implement the data access object (DAO) layer.

Spring Data JPA is not a JPA provider. It is a library/framework that adds an extra layer of abstraction on top of our JPA provider (like Hibernate).

Spring Data JPA uses Hibernate as a default JPA provider.

#springdatajpa #springboot #course
Рекомендации по теме
Комментарии
Автор

Nice video, though i am missing some important information on the creation of timestamps with the @CreationTimestamp. Like, how is it generating the timestamp? System time? JVM time? Does it store timezone information things like that :)

davejindal
Автор

please make video on data source and connection pool

lovetyagi
Автор

sir when u quit ur job, how much u were making and now u r a freelancer teacher and. youtuber how much u r making

freethinker
Автор

I have a question in context of a use case :
where they both serve the same purpose but i have to ask you here as this is a JPA project and in future context I may wish to change my implementation from hibernate to other ORM implementation so don't you thing that Spring Data date annotations should be a better choice to keep the code JPA compliant.
Please Do reply.

akshitgoel
welcome to shbcf.ru