11:16 am - Tuesday October 24, 2017

Archive: Z-A Interview Questions Subscribe to Z-A Interview Questions

Hibernate Interview Question10

1.            What is HQL? HQL stands for Hibernate Query Language. Hibernate allows the user to express queries in its own portable SQL extension and this is called as HQL. It also allows the user to express in native SQL. 2.           ...

Hibernate Interview Question11

1.            What are Extension interfaces? When the built-in functionalities provided by hibernate is not sufficient enough, it provides a way so that user can include other interfaces and implement those interfaces for user desire...

Hibernate Interview Question12

1.            What are the different levels of ORM quality? There are four levels defined for ORM quality. Pure relational Light object mapping Medium object mapping Full object mapping 2.            What is Hibernate? Hibernate...

Hibernate Interview Question7

1.            What is the purpose of dialect? There are two concepts here a Dialect and a Driver. Driver is like English. Dialect is the different pronunciations of English. We all know there are different versions of Oracle…...

Hibernate Interview Question6

1.            Explain about version field? Application level data integrity constants are important if you are making changes to offline information which is again backed by database. Higher level locking or versioning protocol is...

Hibernate Interview Question8

1.            Types of locks     Read lock     Write lock     Execute lock     Fetch lock     Save lock 2.            What is 2-phase lock ?    Read only transaction    Update transaction 3.           ...

Hibernate Interview Question9

1.            what is caching? Anything you can do to minimize traffic between a database and an application server is probably a good thing. In theory, an application ought to be able to maintain a cache containing data already loaded...

Hibernate Interview Question4

1.            What is ORM? ORM stands for object/relational mapping. ORM is the automated persistence of objects in a Java application to the tables in a relational database 2.            What does ORM consists of? An ORM...

Hibernate Interview Question2

1.         Define HibernateTemplate? org.springframework.orm.hibernate.HibernateTemplate is a helper class which provides different methods for querying/retrieving data from the database. It also converts checked HibernateExceptions...

Hibernate Interview Question3

1.         How can Hibernate be configured to access an instance variable directly and not through a setter method ? By mapping the property with access=”field” in Hibernate metadata. This forces hibernate to by pass the...

Hibernate Interview Question5

1.            What is a Session Factory? Is it a thread-safe object? SessionFactory is Hibernates concept of a single datastore and is threadsafe so that many threads can access it concurrently and request for sessions and immutable...

Struts InterviewQuestion3

1.            Explain about token features in struts The problem of duplicate form submission arises when a user clicks the Submit button more than once before the response is sent back. This may result in inconsistent transactions...

Struts InterviewQuestions2

1.            How to handle Errors and Exceptions in struts. Exceptions in Struts are handled in two ways: Programmatic exception handling : Explicit try/catch blocks in any code that can throw exception. It works well when custom...

Struts InterviewQuestions4

1.            What is the use of validate and reset method The validate method is called by the controller servlet after the bean properties have been populated, but before the corresponding action class’s execute method is...

Basic Interview Question10

Basic Interview Question6

59.  Is main a keyword in Java? No, main is not a keyword in Java. 60.          Is next a keyword in Java? No, next is not a keyword. 61.          Is delete a keyword in Java? No, delete is not a keyword in Java. Java does...

Basic Interview Question9

Basic Interview Question8

Basic Interview Question7

Basic Interview Question7

Basic Interview Question

Basic Interview Question6