Gallery Posted by www.chennarapu.com Posted on December 18, 2013 Posted under Hibernate Comments Leave a comment Hibernate Tutorial Hibernate Tutorial Share this:TwitterFacebookLike Loading...
Gallery Posted by www.chennarapu.com Posted on December 18, 2013 Posted under Hibernate Comments Leave a comment What is Plain Old Java Object (POJO) ? What is Plain Old Java Object (POJO) ? Share this:TwitterFacebookLike Loading...
Gallery Posted by www.chennarapu.com Posted on December 18, 2013 Posted under Hibernate Comments Leave a comment How to configure connection pooling data source for Hibernate in apache tomcat6 How to configure connection pooling data source for Hibernate in apache tomcat6 Share this:TwitterFacebookLike Loading...
Gallery Posted by www.chennarapu.com Posted on October 30, 2013 Posted under Hibernate Comments Leave a comment What is session in hibernate? org.hibernate Interface Session public interface Session extends Serializable Session sess = factory.openSession(); It is not intended that implementors be threadsafe. A Session instance is serializable if its persistent classes are serializable. 1. void flush()throws HibernateException 2. SessionFactory getSessionFactory() 3. boolean isOpen() 4. boolean isDirty()throws HibernateException 5. void saveOrUpdate(Object object)throws HibernateException Share this:TwitterFacebookLike Loading...
Gallery Posted by www.chennarapu.com Posted on October 30, 2013 Posted under Hibernate Comments Leave a comment What are object states in hibernate? Hibernate defines and supports the following object states: 1. Transient 2. Persistent 3. Detached Share this:TwitterFacebookLike Loading...
Gallery Posted by www.chennarapu.com Posted on October 30, 2013 Posted under Hibernate Comments Leave a comment What is sessionfactory in hibernate? org.hibernate Interface SessionFactory public interface SessionFactory extends Referenceable, Serializable The main contract here is the creation of Session instances. The internal state of a SessionFactory is immutable. An application has a single SessionFactory instance 1. Session openSession()throws HibernateException Share this:TwitterFacebookLike Loading...