This is the simplest, strongest explanation I have ever seen, this is pretty pretty good.
@luv2codetv9 жыл бұрын
Samer T awesome! thanks for the kind words :-)
@chochisalvatore4918 жыл бұрын
Thank u for this brilliant tutorial *_* i'm really confused, what i know that JPA give us a a specification and we should use a provider like (hibernate) for implementation , but here i can see already we have methods for CRUD operations (like persist) without using a provider (hibernate) . can-we use jpa without hibernate ? Thanks
@luv2codetv8 жыл бұрын
You will need a JPA implementation such as eclipselink or hibernate.
@luv2codetv8 жыл бұрын
+luv2code this example uses eclipselink behind the scenes.
@chochisalvatore4918 жыл бұрын
Thanks a lot
@luv2codetv8 жыл бұрын
+Chochi Salvatore you are welcome. You may be interested in my hibernate tutorial (20+ videos) kzbin.info/aero/PLEAQNNR8IlB6QiKZP0_5dYoId-7YXOdBe
@nisaashraf85297 жыл бұрын
great explanation !!! .. em just doubtful about that last "e" u r using in the sql query. where does that e come from ?
@luv2codetv7 жыл бұрын
"e" is just an alias. it can be anything / any character.
@nisaashraf85297 жыл бұрын
Ok got it . Thank u :)
@AfterEffexs7 жыл бұрын
Hey you are great! is it possible to persist a WebSocket Session into a bean or smth like that? I need to persist the session for the cause when an external REST-Client invokes my servlet to get access on it
@luv2codetv7 жыл бұрын
not that I'm aware of ...
@bigsneeks57148 жыл бұрын
brilliant tutorial....very logical
@luv2codetv8 жыл бұрын
+rene te boekhorst I just released a new batch of Hibernate tutorials. Check them out here: goo.gl/ce60Wv
@caraimananca31608 жыл бұрын
Hi. is there a way to store in database a column like total sum which is calculated automatically based on fields from other tables? I tried with @formula but it doesn't work
@luv2codetv8 жыл бұрын
hmm ... you may want to use regular SQL for this. Here's an example: - stackoverflow.com/questions/11252289/sum-total-of-several-mysql-columns-stored-in-another-column hope this helps.
@Nossairmaroc8 жыл бұрын
hey, i love your videos! For Example your tutorials about JSF. I want to ask you if you have a JPA tutorial with more details in udemy? Best greetings
@luv2codetv8 жыл бұрын
thanks for the kind words. unfortunately, I don't have anything else on JPA. I plan to do something in the future. however, you should be able to find some jpa tutorials here on youtube or udemy. cheer!
@LiveLoveLaughEveryday9 жыл бұрын
Right to the point. Thanks a lot!!!
@luv2codetv9 жыл бұрын
+weimao2 Great, thanks for the compliments. If you want more details on JPA/Hibernate ... then I have access to more videos. You can get details here: www.luv2code.com/learnspringhibernate
@octaviocardenas40128 жыл бұрын
Really good video, I know that Java has a JPA implementation, and you don't have to use Hibernate, I think to use JPA is the better way use databases in Java
@luv2codetv8 жыл бұрын
yep, good point. you can use any JPA implementation. such as hibernate or eclipselink. thanks for watching the video :-)
@luvyadav81279 жыл бұрын
gettting confusion between @PersistenceUnit and @PersistenceContext because we normally use PersistenceUnit to injects an EntityManagerFactory and PersistenceContext injects an EntityManager
@siya39558 жыл бұрын
One word: WOOOOOOOOOOOOW!!!!!! :D :D
@luv2codetv8 жыл бұрын
Thanks! I have a ton of free Java ebooks. Join my email list and I will send them out to you :-). www.luv2code.com/joinlist
@siya39558 жыл бұрын
Just did.
@luv2codetv8 жыл бұрын
+Siya Mzam awesome! glad to have you on board. I'll send A LOT of free Java ebooks your way :-)