Spring Boot Mapstruct | Lombok & Mapstruct with Spring Boot CRUD API | Java Bean Mappings

Spring Boot Mapstruct | Lombok & Mapstruct with Spring Boot CRUD API | Java Bean Mappings

Techno Town Techie

3 года назад

54,955 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Behnaz68M
@Behnaz68M - 26.11.2023 01:41

Thank you. It was totally complete and useful. Examples were good and understandable.

Ответить
@ShubhamKumar-sv4iw
@ShubhamKumar-sv4iw - 08.11.2023 18:30

thank you bro for this video. it helped me get started with @mapper

Ответить
@krishnayallapanthula
@krishnayallapanthula - 12.10.2023 20:46

Why you are returning Product in the post call why not ProductDto?

Ответить
@wazeeharaa8100
@wazeeharaa8100 - 23.09.2023 04:04

java: No implementation was created for ReportMapper due to having a problem in the erroneous element java.util.ArrayList. - how to fix this

Ответить
@sandeep_begudem
@sandeep_begudem - 16.09.2023 08:22

Thank you for this amazing tutorial, it was helpful for me! please keep doing this amazing content!

Ответить
@mojahidaazizi4852
@mojahidaazizi4852 - 26.08.2023 22:01

i have a problem, i don't know why my implementation class does not generated

Ответить
@anjanx44
@anjanx44 - 24.07.2023 21:29

Very informative

Ответить
@viduragaram4599
@viduragaram4599 - 23.06.2023 20:56

Thank you for the clear steps. This was a lot better than a lot of other articles.

Ответить
@sagi33delriego82
@sagi33delriego82 - 22.06.2023 20:12

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 ?

Ответить
@raccoon8230
@raccoon8230 - 21.06.2023 12:24

Thank you so much!

Ответить
@JuliusIkebiagbo
@JuliusIkebiagbo - 05.06.2023 11:25

Please which app do you use to record your screen

Ответить
@JuliusIkebiagbo
@JuliusIkebiagbo - 03.06.2023 23:49

please which app do you use for screen recording?

Ответить
@JITENDRAPAL21
@JITENDRAPAL21 - 31.05.2023 06:43

in this video, most of the mapstruct features are covered 😊

Ответить
@David-rz4vc
@David-rz4vc - 25.05.2023 06:06

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.

Ответить
@romeobernabe6871
@romeobernabe6871 - 25.04.2023 12:09

Hi Thanks...do you have github?

Ответить
@321jeR
@321jeR - 11.02.2023 23:53

Man you video about MapStruct is the best . Thanks .

Ответить
@dec1ne771
@dec1ne771 - 11.02.2023 06:07

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.

Ответить
@hhjdkdnchidnd
@hhjdkdnchidnd - 16.01.2023 23:51

pls make more videos!!!

Ответить
@tero461
@tero461 - 06.11.2022 15:13

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..

Ответить
@ajithkumarraja3641
@ajithkumarraja3641 - 02.10.2022 08:34

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

Ответить
@manishlande1182
@manishlande1182 - 14.09.2022 17:02

Thanks, Very informative.

Ответить
@praveensonnad3651
@praveensonnad3651 - 01.09.2022 10:48

thanks for this one......cleared and understood some confusing topics.....plz make such videos
🤗

Ответить
@samirshrestha5252
@samirshrestha5252 - 08.08.2022 17:12

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;
}

Ответить
@samirshrestha5252
@samirshrestha5252 - 08.08.2022 14:48

Shows error in productmapper. it says, "Could not autowire. No beans of 'ProductMapper' type found."

Ответить
@laurobernardojr.4179
@laurobernardojr.4179 - 22.04.2022 17:31

Great work! Very helpful. Keep it up!

Ответить
@myjava2844
@myjava2844 - 27.03.2022 20:00

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)]

Ответить
@gopalbhardwaj3176
@gopalbhardwaj3176 - 09.03.2022 15:22

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

Ответить
@shridhar_rao
@shridhar_rao - 16.01.2022 21:28

Awesome! Thanks!

Ответить
@adolphxie7089
@adolphxie7089 - 08.01.2022 11:57

any github repository?

Ответить
@inapanci9862
@inapanci9862 - 21.12.2021 12:44

Hello, what about the case where the target property is an expression and not the source?

Ответить
@nickgoupinets
@nickgoupinets - 16.12.2021 17:51

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?

Ответить
@ajayjaiswal7080
@ajayjaiswal7080 - 23.09.2021 13:58

Thanks Man, This video is a one stop shop. Covered many things. Great Work keep going .

Ответить
@dagnogoyaya8987
@dagnogoyaya8987 - 19.08.2021 02:25

thanks ...! how to map byte[] productImage in Product class to Multipart productImage in ProductDto class

Ответить
@subahsishsarkar8186
@subahsishsarkar8186 - 11.08.2021 00:48

Very helpful video ..ty for creating such a good content

Ответить
@twodots1990
@twodots1990 - 05.08.2021 15:09

I am getting a circular view issue on rest controller

Ответить
@nikitalankin7041
@nikitalankin7041 - 06.07.2021 15:28

where is update? )))

Ответить
@tejassontakke8382
@tejassontakke8382 - 13.06.2021 10:37

Simple explanation. Please keep posting Microservices videos.

Ответить
@shubhamswaraj1968
@shubhamswaraj1968 - 02.06.2021 16:52

What's use of util package in appilcation and what types of classes we can write under util package?

Ответить
@ksrinivas8728
@ksrinivas8728 - 29.05.2021 09:01

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

Ответить
@aswarthanarayanareddyb176
@aswarthanarayanareddyb176 - 28.05.2021 10:16

Please provide me the GitHub link

Ответить
@aswarthanarayanareddyb176
@aswarthanarayanareddyb176 - 28.05.2021 10:16

Great work. Clean code with struct mapper. Thank you so much. Keep it up

Ответить
@raheemsk3552
@raheemsk3552 - 28.05.2021 10:01

Good video 👍

Ответить
@chandramanigupta6997
@chandramanigupta6997 - 28.05.2021 09:31

Great

Ответить