what is the purpose and activity of SessionFactory in
hibernate?
Answers were Sorted based on User's Feedback
Answer / shoshmi
Configuration().configure().buildSessionfactory();
what is the work of this above code..plz explain briefly
| Is This Answer Correct ? | 3 Yes | 7 No |
Answer / sk.bilal ahmed
The behaviour of a SessionFactory is controlled by
properties supplied at configuration time. These properties
are defined on Environment. Threads servicing client
requests obtain Sessions from the factory.Implementors must
be threadsafe.
| Is This Answer Correct ? | 7 Yes | 12 No |
How will you explain load() and get() methods?
What is javabeans component?
On which platform j2ee is based?
Is java is a high level language?
public class ActionSearchBean extends GenericSearchBean<ActionDTO, Long, ActionDTO> { @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 ?
What is layout in java?
Define the struts in the j2ee framework?
How java is reliable?
Where is java used?
Is java is a technology?
What are the components of awt in java?
when i m calling java for web browser . so browser it's not support. show error in browser: internal error occur. java.lang.NoClassDefFoundError. will you give me solution why it's not starting browser.? is there any consult with .net framework2.0?