Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers for 'SQLI' - 2 question(s) found - Order By Newest | ||||
| ||||
Ans. It in Java is used to indicate that a field should not be serialized. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   oops   serialization   transient   java keywords Asked in 39 Companies intermediate   frequent | ||||
Try 2 Question(s) Test | ||||
Related Questions | ||||
Which of the following combination of keywords is illegal in Java ? a. static and transient b. transient and final c. static and synchronized d. abstract and final | ||||
Which keyword is used to provide explicit access of a code block to single thread ? a. Transient b. Final c. Explicit d. Synchronized | ||||
Can we declare static variables as transient ? | ||||
What are transient variables in java? | ||||
Which of the following is true ? | ||||
Variables of an interface are intrinsically ... a. transient b. final c. public d. static | ||||
| ||||
Ans. Application is unable to insert a record as it violates a unique constraint. The exception states the constraint and Table can be located by the Entity mapping. So I will go to the DB and will first check to which all columns the unique constraint applies. And then I will go and check the code and logs to see how come the duplicate column values were attempted to be inserted when they were not supposed to be. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  ConstraintViolationException  SQLIntegrityConstraintViolationException | ||||
Related Questions | ||||
What's the benefit for specifying constraints like Not Null , Primary Key explicitly instead of specifying it against the column ? | ||||
How to know the constraints on a Table in Oracle ? | ||||