I have a project which has several modules. I am using intellij as a IDE and gradle as a build too.
I have a issue that when i try to open dependency class it opens class from jar file which is build and not the actual module code. I need to know why it open the class from jar file?
i need that users do not enter duplicate email. for example if firstname.lastname@example.org is already in DB, i want that if user enter same email again , we have to find that it already exists. We have to use lexical analysis for to find it.
i am writing an API to save user data. when user enters data i need to check the uniqueness of those data. for example user enters email , i need to check that email is unique. So how can i use lexical analysis to check the uniqueness?
I am writing an APi which saves data in two tables. For examples below are the user input data
name , description , email ,submission_date , submission_time ,ip , os ,browser
I need to save these details in two tables in DB as below
Topic Submission = name , description , email ,submission_date , submission_time
Submission State = ip , os ,browser
I need to know how to map one json object to two java classes directly. We can use "com.fasterxml.jackson.databind.ObjectMapper" for json to java mapping, but since we have to map to two classes how to map ?