Hibernate Tutorial 08 - Value Types and Embedding Objects

preview_player
Показать описание
We'll learn the difference between Entity type objects and Value type objects. We'll use the @Embeddable annotations to embed a value type object into our Entity class.
Рекомендации по теме
Комментарии
Автор

Bravo! In 2022 you still deliver content which is useful. Explanation of entities and value object could not be better. Thanks

Apprenticer
Автор

I would never had understood properly without your tutorials Koushik...you are like GOD for me..

sailajat
Автор

all your videos should have 1000+ likes .. all of them.

marktwain
Автор

Once again, thank you for brining up this material in such simple and understandable way!!! I find it really helpful!!!

solaris
Автор

You make things so easy!! Love your tutorials. Can you do some tutorial series for Spring MVC?

rohansachdeva
Автор

@giblet37 If you are dealing with library objects that need to be persisted, (or any class that you cannot edit), I'd suggest the option of configuring using XML files. This is alternative method of configuration that I haven't covered in the tutorials yet, and it predates annotations. I'm a big fan of annotations, and it's all that I've used. But in your case, XML mapping files might be the way to go. Refer here

Java.Brains
Автор

thanks...learning hibernate in 2020 :))

sdmj
Автор

Can you do some tutorial series for Spring MVC?

saguna
Автор

can i ask why we always add the getter and setter ? every annotation uses that or something ?

doanhtuan-bquq
Автор

I found in the hibernate version I am using (5.2), I had to also specify sessionFactory.close() at the end of the main method otherwise the application would keep running. When you run the application the second time, it would be affected by the run state of the first one.

sameerkhnl
Автор

Hi Koushik!! Thanks for all the decent tutorials you have been providing . Can you please demonstrate a small project combining SPRING MVC and Hibernate . That would be very much beneficial for people who are willing to learn these technologies and their projects don't have these stuffs in use as of yet.

vaibhavtripathi
Автор

Thanks for making it so easy to understand

errrzarrr
Автор

Watching in 2022 ✨☺️☺️☺️ awesome hibernate playlist!!

divinity
Автор

this video example is referred from "Hibernate in Action" book.. :-)

ashitoshwandre
Автор

What will happen if @Embedded and @Embeddable is not use ? How will they be mapped to database tables.

MrAbbydarappa
Автор

Your lecture are really awesome but please upload lecture with annotation

tannubajpai
Автор

sir I'm practicing with hbm xml file not with annotations.I've one problem my address class values are not persisted to the DB.still project is getting output and columns of Address class are getting created but values are not being saved(User Details values are being saved).sir please tell me wht is the problem.

Telugu_Isleexplorer
Автор

Exception in thread "main" Unknown entity:
at
at
at


yogeshsharma-vqkh
Автор

You can auto generate getters and setters?!?!?! Mind Blown!!

youtuber
Автор

But how can we say address object does not mean anything, it has street address belong to this city, this city is located at this state and this zip is in this state and only belong to this city. I can not see any difference between user and address object

impossiblehousemarylandsta