Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Step 1 Copy ex?2 injectionAndlok to ex31 lombok. Iiterally copy and uare. Ment things should carfy oyef, thenegh obviounly, be careul copying entite projects and

image text in transcribed
Step 1 Copy ex?2 injectionAndlok to ex31 lombok. Iiterally copy and uare. Ment things should carfy oyef, thenegh obviounly, be careul copying entite projects and AL WaYs oNLY EVIR copy your cwn wofk. There are eay way to woct ofher people's code, and offenderi witi be prosecuted. Add the following cobeto your ext1. lonvok pem.amlfile pust abone the souing boot-starter.test tas deperdency iet: adependency? uiteofidsorg-projectlonboke/erowintds carticactidoloebokciart if act to soptionalstruec/optional) c/dependency? Step 2 Add eDMa, NoMesconstructoe, and E AlMrguConstructor above your Course bepan. Remove ary gettets, muen, tostrings, and constructons from your Courie bean. You won't need them, and mo we ve said, Lombok is only so good at figuring out what's needed and what's not. AdA eData to your Courselistimpl bean-below the EComponent arnotation. As a lin of focpohanloaine, do not change your Coonelist interface. We still nerd it intact and as a for nowl. Naveate to your Coursecortroller daw. Mabe sure it is ual working as flannedt Run your code and nmigate Th [ Wow! Step 3 Tvie oNweNull abowe the ad property Note the impert thould conve from fomboit NanNull if you'te anked. af pour conese obvert Hosever, leive cut the name property! What happent? Tiry keare esest at what fuppens

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

What kinds of property are covered by floater policies?

Answered: 1 week ago

Question

Why are hallucinations considered a positive symptom?

Answered: 1 week ago

Question

Should civil service employees be allowed to unionize? Why?

Answered: 1 week ago