3:50 pm - Sunday February 19, 2750

Author Archives: Mathan Lal

Hibernate Interview Questions and Answers part 12

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 is a powerful, high performance...

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 functionality. These...

Hibernate Interview Question and Answers Part 10

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. What is object/relational...

Hibernate Interview Questions and Answers – Part 8

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. What are the design patterns used in hibernate? Composite design DAO Design Pattern Abstract...

Hibernate Interview Questions and Answers- Part 7

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… Oracle 9i, Oracle8. The...

Hibernate Interview Question and Answers Part 9

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 from the database,...

Hibernate Interview Questions and Answers – Part 1

Hibernate Interview Questions Hibernate is one of the ORM tool developed for Java applications. for providing database oriented services hibernate was mostly used in enterprise related applications. Having knowledge in Hibernate will add advantage for...

Hibernate Interview Questions and Answers – Part 3

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

Hibernate Interview Questions and Answers – Part 2

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 into unchecked DataAccessExceptions. 2....

Java Example and Programs

Java Example and Programs lang package (java.lang.*) String          StringBuffer       StringBuilder         Integer          Float           Double          Long          Byte      Character     Boolean ...

What is MVC In java with Example Program

Struts MVC Architecture:  MODEL-VIEW-CONTROLLER  Model:  The model contains the business logic and interacts with the persistence storage to store, retrieve and manipulate data. View: The view is responsible for display the results back...

Free Java training institute

Free java training in Chennai (Learn Java and Pay after get placed)   At candid we provide Java training and placement for 2017 and 2018 job seekers Students will be given training in live projects both product and client-based applications. There...

Spring boot tutorial

Spring boot

Java training course content

Java Training Course content Java Preview Java Developer Kit Java Virtual machine Java Runtime Environment Just in time Compiler Compiler vs. Interpreter Java bean Standards Advantages and disadvantages of java Java Configuration Introduction...

Java training offer

About Gallantm                 Our training programs and course contents are designed such a way to achieve every student’s career goal. With strong presence across India and dedicated team of Placement support professionals...

New Features in jdk 7

Enhancements in Java SE 7 The java.nio.file package and its related package, java.nio.file.attribute, provide comprehensive support for file I/O and for accessing the file system. A zip file system provider is also available in JDK 7. The following...

New updates in jdk 1.8

Java Programming Language Lambda Expressions, a new language feature, has been introduced in this release. They enable you to treat functionality as a method argument, or code as data. Lambda expressions let you express instances of single-method...

Json tutorial and example program

Json tutorial and example program   JSON JsonArray                        JsonObject

HashMap example programs and Tutorial in java

BACK   1.Creating  a clone(duplicate) of HashMap using Object clone   2.Remove a value from HashMap by its key using  remove(Object key )   3.Check whether the HashMap is empty boolean isEmpty( )   4.Change the HashMap to Collection (value)...

Java String Example Programs

BACK 1.Compare equality of two string value boolean equals(Object anObject) 2.Compare equality of two string Ignoring case boolean equalsIgnoreCase(String anotherString) 3.Encode given string to byte array byte[ ] getBytes[ ] 4.Get HashCode...