HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

Similar documents
HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

DB2 MOCK TEST DB2 MOCK TEST I

MAVEN MOCK TEST MAVEN MOCK TEST I

HIBERNATE MOCK TEST HIBERNATE MOCK TEST II

JDBC MOCK TEST JDBC MOCK TEST IV

EJB MOCK TEST EJB MOCK TEST IV

NODE.JS MOCK TEST NODE.JS MOCK TEST I

MAVEN MOCK TEST MAVEN MOCK TEST IV

JSP MOCK TEST JSP MOCK TEST III

Hibernate Interview Questions

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

JAVA MOCK TEST JAVA MOCK TEST III

GWT MOCK TEST GWT MOCK TEST I

C# MOCK TEST C# MOCK TEST II

SPRING MOCK TEST SPRING MOCK TEST I

MAVEN MOCK TEST MAVEN MOCK TEST III

JAVA MOCK TEST JAVA MOCK TEST II

JAVA MOCK TEST JAVA MOCK TEST IV

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/-

HTML5 MOCK TEST HTML5 MOCK TEST I

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

PERL MOCK TEST PERL MOCK TEST II

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics

CICS MOCK TEST CICS MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST IV

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Generating A Hibernate Mapping File And Java Classes From The Sql Schema

Unit 6 Hibernate. List the advantages of hibernate over JDBC

PYTHON MOCK TEST PYTHON MOCK TEST III

Hibernate Overview. By Khader Shaik

COBOL MOCK TEST COBOL MOCK TEST III

C# MOCK TEST C# MOCK TEST I

Index. setmaxresults() method, 169 sorting, 170 SQL DISTINCT query, 171 uniqueresult() method, 169

Lightweight J2EE Framework

Struts: Struts 1.x. Introduction. Enterprise Application

object/relational persistence What is persistence? 5

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX

JAVASCRIPT MOCK TEST JAVASCRIPT MOCK TEST I

Table of Contents. I. Pre-Requisites A. Audience B. Pre-Requisites. II. Introduction A. The Problem B. Overview C. History

/ / JAVA TRAINING

HIVE MOCK TEST HIVE MOCK TEST III

The Object-Oriented Paradigm. Employee Application Object. The Reality of DBMS. Employee Database Table. From Database to Application.

Setting Schema Name For Native Queries In. Hibernate >>>CLICK HERE<<<

CORE JAVA. Saying Hello to Java: A primer on Java Programming language

Lightweight J2EE Framework

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

POJOs in Action DEVELOPING ENTERPRISE APPLICATIONS WITH LIGHTWEIGHT FRAMEWORKS CHRIS RICHARDSON MANNING. Greenwich (74 w. long.)

QC MOCK TEST QC MOCK TEST

Java Object/Relational Persistence with Hibernate. David Lucek 11 Jan 2005

ANDROID MOCK TEST ANDROID MOCK TEST IV

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

Development of E-Institute Management System Based on Integrated SSH Framework

Remote Health Service System based on Struts2 and Hibernate

Web Application Development Using Spring, Hibernate and JPA

Comparative Analysis of EJB3 and Spring Framework

Web Application Development Using Spring, Hibernate and JPA

Object Persistence and Object-Relational Mapping. James Brucker

Java Spring Hibernate Interview Questions And Answers For

JSP MOCK TEST JSP MOCK TEST IV

International Journal of Advance Research in Engineering, Science & Technology HIBERNATE FRAMEWORK FOR ENTERPRISE APPLICATION

Java Spring Hibernate Interview Questions And Answers For

Introduction to Spring Framework: Hibernate, Spring MVC & REST

GO MOCK TEST GO MOCK TEST I

Web Application Development Using Spring, Hibernate and JPA

purequery Deep Dive Part 2: Data Access Development Dan Galvin Galvin Consulting, Inc.

The dialog boxes Import Database Schema, Import Hibernate Mappings and Import Entity EJBs are used to create annotated Java classes and persistence.

ADVANCED JAVA TRAINING IN BANGALORE

New Features in Java language

CO Java EE 7: Back-End Server Application Development

ABOUT ISM UNIV ABOUT HIBERNATE ORM

DATA ACCESS TECHNOLOGIES FOR JAVA GENERAL STUDY

Migrating traditional Java EE applications to mobile

HBASE MOCK TEST HBASE MOCK TEST III

J2EE Technologies. Industrial Training

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java

COMP9321 Web Application Engineering

Java Training Center, Noida - Java Expert Program

Java J Course Outline

QTP MOCK TEST QTP MOCK TEST II

foreword to the first edition preface xxi acknowledgments xxiii about this book xxv about the cover illustration

Spring Framework 2.0 New Persistence Features. Thomas Risberg

find() method, 178 forclass() method, 162 getcurrentsession(), 16 getexecutablecriteria() method, 162 get() method, 17, 177 getreference() method, 178

POJOs to the rescue. Easier and faster development with POJOs and lightweight frameworks

How To Get Database Schema In Java Using >>>CLICK HERE<<<

Chapter 3. Harnessing Hibernate

Page 1

Deccansoft Software Services. J2EE Syllabus

Chapter 13. Hibernate with Spring


JVA-117A. Spring-MVC Web Applications

CSS MOCK TEST CSS MOCK TEST III

Research on software development platform based on SSH framework structure

indx.qxd 11/3/04 3:34 PM Page 339 Index

Call: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline

COMP9321 Web Application Engineering

Full Stack Java Developer Course

THIS IS ONLY SAMPLE RESUME - DO NOT COPY AND PASTE INTO YOUR RESUME. WE ARE NOT RESPONSIBLE Name: xxxxxx

ThingWorx Relational Databases Connectors Extension User Guide

Transcription:

http://www.tutorialspoint.com HIBERNATE MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Hibernate Framework. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. HIBERNATE MOCK TEST I Q 1 - What JDBC stands for? A - Java DB Connectivity B - Java Database Connectivity C - Java Data Bind Connect D - Java Data Bind Connector Q 2 - Which of the following is true about JDBC? A - JDBC stands for Java Database Connectivity. B - JDBC provides a set of Java API for accessing the relational databases from Java program. C - JDBC APIs enables Java programs to execute SQL statements and interact with any SQL compliant database. Q 3 - What ORM stands for? A - Object Relation Map B - Object Relational Mapping C - Object Record Mapping Q 4 - Which of the following is true about ORM? A - ORM stands for Object-Relational Mapping.

B - ORM is a programming technique for converting data between relational databases. C - Both of the above. Q 5 - Which of the following is not an ORM framework? A - Castor B - Spring DAO C - Hibernate D - NoSQL Q 6 - Which of the following is true about Hibernate? A - Hibernate is an Object-Relational MappingORM solution for JAVA. B - Hibernate is an Object-Relational MappingORM solution for.net C - Both of the above. Q 7 - Which of the following is true about Hibernate? A - Hibernate takes care of mapping Java classes to database tables using XML files and without writing any line of code. B - Hibernate provides simple APIs for storing and retrieving Java objects directly to and from the database. C - Hibernate abstracts away the unfamiliar SQL types and provide us to work around familiar Java Objects. Q 8 - Which of the following database is not supported by Hibernate? A - DB2/NT B - MySQL C - FoundationDB D - PostgreSQL Q 9 - Which of the following tools/frameworks provides integration with Hibernate? A - XDoclet Spring B - J2EE C - Maven

Q 10 - Which of the following is not a core component of Hibernate? A - JDBC B - SessionFactory C - Session D - Configuration Q 11 - Which of the following is not a core component of Hibernate? A - Transaction B - Provider C - Criteria D - Query Q 12 - Which of the following is true about configuration component of Hibernate? A - The Configuration object is the first Hibernate object you create in any Hibernate application. B - The Configuration object is usually created only once during application initialization. C - The Configuration object represents a configuration or properties file required by the Hibernate. Q 13 - Which of the following object is used to create SessionFactory object in hibernate? A - Configuration B - Session C - SessionFactory D - Transaction Q 14 - Which of the following is true about SessionFactory object in hibernate? A - SessionFactory object configures Hibernate for the application using the supplied configuration file. B - SessionFactory object allows for a Session object to be instantiated. C - The SessionFactory is a thread safe object. Q 15 - Which of the following is true about SessionFactory object in hibernate? A - The SessionFactory is heavyweight object.

B - SessionFactory object is created during application start up and kept for later use. C - You would need one SessionFactory object per database using a separate configuration file. Q 16 - Which of the following is true about Session object in hibernate? A - A Session is used to get a physical connection with a database. B - The Session object is lightweight. C - Persistent objects are saved and retrieved through a Session object. Q 17 - Is SessionFactory a thread-safe object? A - true B - false Q 18 - Is Session a thread-safe object? A - true B - false Q 19 - Which of the following is true about Transaction object in hibernate? A - A Transaction represents a unit of work with the database. B - Transactions in Hibernate are handled by an underlying transaction manager. C - This is an optional object and Hibernate applications may choose not to use this interface, instead managing transactions in their own application code. Q 20 - Which of the following is true about Query object in hibernate? A - Query objects Hibernate Query Language HQL string to retrieve data from the database and create objects. B - Query objects SQL string to retrieve data from the database and create objects. C - A Query instance is used to bind query parameters, limit the number of results returned by the query, and finally to execute the query. Q 21 - Which of the following is true about hibernate.dialect property in hibernate configuration? A - This property makes Hibernate generate the appropriate SQL for the chosen database. B - This property makes Hibernate generate the appropriate java code for the chosen database.

C - Both of the above. Q 22 - Which of the following is true about transient state of a persistent entity? A - A new instance of a persistent class which is not associated with a Session. B - A new instance of a persistent class which has no representation in the database. C - A new instance of a persistent class which has no identifier value. Q 23 - Which of the following is true about persistent state of a persistent entity? A - You can make a transient instance persistent by associating it with a Session. B - A persistent instance has a representation in the database. C - A persistent instance has an identifier value. Q 24 - Which of the following is true about detached state of a persistent entity? A - Once we close the Hibernate Session, the persistent instance will become a detached instance. B - A new instance of a persistent class which is not associated with a Session. C - You can make a transient instance detached by associating it with a Session. Q 25 - Session.beginTransaction method begins a unit of work and returns the associated Transaction object. A - true B - false ANSWER SHEET Question Number Answer Key 1 B 2 D 3 B 4 C 5 D 6 A

7 D 8 C 9 D 10 A 11 B 12 D 13 A 14 D 15 D 16 D 17 A 18 B 19 D 20 D 21 A 22 D 23 D 24 A 25 A Loading [MathJax]/jax/output/HTML-CSS/jax.js