what is the purpose and activity of SessionFactory in
hibernate?

Answer Posted / madhan kumar

Session factory is used to access the various tables.it is
expensive and it should be used only once.

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is deployment descriptor?

741


What is home interface?

718


What is j2ee component?

716


Which java technology is in demand?

671


What is java application server?

667


What is architecture neutral in java?

659


What are the most important topics in java?

674


How many types of constructors are there in java?

626


Is visual studio good for java?

685


J2ee is a container centric architecture. Explain.

682


public class ActionSearchBean extends GenericSearchBean { @Override public String search() { data.setRowCount(null); if(data.getRowCount()==0){ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } return "searchAction"; } @Override public String clear() { data.setRowCount(null); if (data.getRowCount() > 0){ data.getNoRecordFound().setRendered(false); data.getDataScroller().setRendered(true); }else{ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } data.setModel(new ActionDTO()); data.setRowCount(null); return "searchAction"; } } what is the purpose of @Override ...what will do @Override here ?

2195


Why java is not 100% object oriented language?

701


Which software is used for java?

657


Describe the ear, war, and jar.

687


Why is j2ee needed?

659