I am new to jave and I have one qoestion. I am asked to code DAO layer only,
I can write the code like in DAO layer we write to post some field to the database. I can write the method but I dont know if it really works or not.
As I dont know how to trigger the method in the first place as it doesn''t have a UI.
How do we trigger to run a DAO method only when there are no other flow which triggers this method to run.
In short how to test or debug if this and only this method is working. I need this immediately for my work so please reply as soon as possible.