Комментарии:
Thank you. It was totally complete and useful. Examples were good and understandable.
Ответитьthank you bro for this video. it helped me get started with @mapper
ОтветитьWhy you are returning Product in the post call why not ProductDto?
Ответитьjava: No implementation was created for ReportMapper due to having a problem in the erroneous element java.util.ArrayList. - how to fix this
ОтветитьThank you for this amazing tutorial, it was helpful for me! please keep doing this amazing content!
Ответитьi have a problem, i don't know why my implementation class does not generated
ОтветитьVery informative
ОтветитьThank you for the clear steps. This was a lot better than a lot of other articles.
ОтветитьTkanks Teacher , very good !!, one question , because Do you use @Id private long Id in the Dto , is not generated by @GeneratedValue(strategy = GenerationType.IDENTITY) as the Entity ?
ОтветитьThank you so much!
ОтветитьPlease which app do you use to record your screen
Ответитьplease which app do you use for screen recording?
Ответитьin this video, most of the mapstruct features are covered 😊
ОтветитьI hate the fact that the mapping is string for column name (desc -> description). You change the name of your property and now u get an unexpected bug.
ОтветитьHi Thanks...do you have github?
ОтветитьMan you video about MapStruct is the best . Thanks .
ОтветитьThank you a lot for your explanations and demonstrations. I'm new to Java, came from C# and you explained everything needed well enough to understand.
Ответитьpls make more videos!!!
ОтветитьIs it for indians so hard to buy a proper microphone? For non native english speakers it's really hard to understand what you're saying.. If you had a proper mic I'm sure you had at least 70k more views..
ОтветитьBro i have doubt when using mapstruct for dto purpose, while transfer data from dto to entity , in dto except value are getting null. How should I solve that
ОтветитьThanks, Very informative.
Ответитьthanks for this one......cleared and understood some confusing topics.....plz make such videos
🤗
Do we have to define relationship in DTO also? Like:-
Getter
@Setter
public class ProductRatingDto {
@Id
private long Id;
@ManyToOne
@JoinColumn(name = "ProductId")
private Product product;
@ManyToOne
@JoinColumn(name = "UserId")
private User user;
private int Rating;
}
Shows error in productmapper. it says, "Could not autowire. No beans of 'ProductMapper' type found."
ОтветитьGreat work! Very helpful. Keep it up!
Ответитьhi,
I tried your approach with bit different fields but getting some hibernate related error,, can you please help me in this regard? Error is like
Could not determine type for: java.util.List, at table: employee, for columns: [org.hibernate.mapping.Column(emp_addr_list)]
Awesome video! I am facing an issue though. When I am doing mvn clean install for mapstruct processor it's throwing some error saying some fields are missing.
This is because it is scanning all the files where mapping is not really required.
Is there any way we can configure mapstruct to work on specific dto and entity.
Thanks in advance
Awesome! Thanks!
Ответитьany github repository?
ОтветитьHello, what about the case where the target property is an expression and not the source?
ОтветитьAwesome work! MapStruct is super useful. What's the best way to map relationships? E.g. Product is 1..1 with Order, and we want to just use order ID in the DTO, but the actual Order instance in the jpa model?
ОтветитьThanks Man, This video is a one stop shop. Covered many things. Great Work keep going .
Ответитьthanks ...! how to map byte[] productImage in Product class to Multipart productImage in ProductDto class
ОтветитьVery helpful video ..ty for creating such a good content
ОтветитьI am getting a circular view issue on rest controller
Ответитьwhere is update? )))
ОтветитьSimple explanation. Please keep posting Microservices videos.
ОтветитьWhat's use of util package in appilcation and what types of classes we can write under util package?
ОтветитьGood one. Why have you renamed to description from desc when you got some error. Should we not have different variable names between DTO and Entity
ОтветитьPlease provide me the GitHub link
ОтветитьGreat work. Clean code with struct mapper. Thank you so much. Keep it up
ОтветитьGood video 👍
ОтветитьGreat
Ответить