Hi laure , honestly you are the best teacher teaching me spring boot and java as well , can you just do a playlist about asynchronous messaging cuz i want to build a chat application , thank you very well best teacher ☺
@@flaca7342 Actually an excellent question! Because lists may have duplicates if you try to apply the subgraph it will face problems. I should have told this actually in the event but I forgot. This is to avoid a so called "cannot get simultaneous fetch multiple bags?
Hello sir, i'm building a very simple ecommerce store, and i want to incoporate different payment gateways. should i create a different entity for each ? or what can we do to reduce to the repetition?
Hi. I don't think there a best answer to your question. I think it depends a lot on the solutions you integrate. I don't know how to answer that since it's pretty much a specific case.
Hello. To be honest, this is the only book I really liked on the topic: Pro JPA 2 in Java EE 8: An In-Depth Guide to Java Persistence APIs By Mike Keith, Merrick Schincariol, Massimo Nardone A bit old now but I still think it covers well the basics.
For the last part (NamedEntityGraph - subgraph), it should be like this? @NamedEntityGraphs( value = { @NamedEntityGraph( name="Author.book.graph", attributeNodes={@NamedAttributeNode(value = "booksList", subgraph = "booksListSubGraph")}, subgraphs={@NamedSubgraph( name = "booksListSubGraph", type=Book.class, attributeNodes = {@NamedAttributeNode("bookShopList")})} ), } )
Thank you Laur, it was a wonderful session. Really you' re a genious and the way you teach is so clear...
Happy you find these helpful.
Thanks
Hi laure , honestly you are the best teacher teaching me spring boot and java as well , can you just do a playlist about asynchronous messaging cuz i want to build a chat application , thank you very well best teacher ☺
Thank you!
why did you change List to Set in association mapping ?
may be because he don't want duplicates of books or bookshops... just a thought.
@@flaca7342 Actually an excellent question! Because lists may have duplicates if you try to apply the subgraph it will face problems. I should have told this actually in the event but I forgot. This is to avoid a so called "cannot get simultaneous fetch multiple bags?
Hello sir, i'm building a very simple ecommerce store, and i want to incoporate different payment gateways. should i create a different entity for each ? or what can we do to reduce to the repetition?
Hi. I don't think there a best answer to your question. I think it depends a lot on the solutions you integrate. I don't know how to answer that since it's pretty much a specific case.
Do you have any recommended books for deep dive into hibernate and jpa?
Hello. To be honest, this is the only book I really liked on the topic:
Pro JPA 2 in Java EE 8: An In-Depth Guide to Java Persistence APIs
By Mike Keith, Merrick Schincariol, Massimo Nardone
A bit old now but I still think it covers well the basics.
Just a request, if you make the ide theme dark, it would easy on eyes for the night viewers 😊
Hello. Thanks. Unfortunately some want it to be white and others black. I need to make a choice and either will make everyone happy.
For the last part (NamedEntityGraph - subgraph), it should be like this?
@NamedEntityGraphs(
value = {
@NamedEntityGraph(
name="Author.book.graph",
attributeNodes={@NamedAttributeNode(value = "booksList", subgraph = "booksListSubGraph")},
subgraphs={@NamedSubgraph(
name = "booksListSubGraph",
type=Book.class,
attributeNodes = {@NamedAttributeNode("bookShopList")})}
),
}
)