if you do :- System.out.println(session.persist(question)); Compile time error because session.persist() return void. Q: What is the difference between hibernate and jdbc ?A: There are so many 1) Hibernate is data base independent, your code will work for all ORACLE,MySQL ,SQLServer etc...
More than 50 questions on JSF-2 with detailed answers, go through them as a refresher on JSF framework. 8.Hibernate Interview Questions and Answers Hibernate is the best Java-based ORM tool in the market. It’s used a lot in most of the enterprise applications to overcome the shortcomings ...
" My friend Dion Stewart had a great idea for a weed-out question. No matter what frameworks the candidate shows on the resume, ask them what they disliked the most about the framework. (I have my top three list for each framework I've worked in... except NeXT's Enterprise Objects Fr...
Question: What are your options to persist data in Spring Boot if you don’t want to use JPA/Hibernate? There are mainly two options you can use: Spring JDBCprovides a tool that makes it straightforward to work with JDBC:JdbcTemplateand its starter org.springframework.boot...
These objects are stored in the ActionContext which uses ThreadLocal. My question is whether ActionContext object is also created for each request or its a single object/application. Thanks - JayJournalDev • January 29, 2014 Very nice. Good work keep it up. Can you include Hibernate ...
Updated on October 18, 2021 by Arpit Mandliya Table of Contents [hide] Question 1: What is Exception ? Question 2: How can you handle exception in java? Question 4: Difference between checked exception, unchecked exceptionand and errors Question 5: Can we have try without catch block in ...
Question-13. What is the role of static keyword on a class member variable ? Answer- A static variable does exist though the objects for the respective class are not created. Static member variable share a common memory across all the objects created for the respective class. A static member...
Enlisted below are the most commonly asked questions on Mocking Frameworks. Q #1) Why do we need mocking? Answer:There are a lot of use cases of mocking that aid in unit testing of the code under isolation and make the test highly repeatable and predictable. ...
Comments on “My favourite interview question”: I've played half a game of Monopoly in my life, and I was too drunk and sleepy at the time to pay much attention. If you asked me that question, you'd then have to spend much of the subsequent interview explaining how to play the game...
Question Posted In : Gernal Knowledge | Animal Quiz Which frequency band is used for connecting the satellite system with the public switched telephone network? View:-14Question Posted on 26 Apr 2025 Which frequency band is used for connecting the satellite system with the public switched telephone...