What kind of query standards can be used in hibernate?
Native SQL
HSQL
Both
None of the above
Which one of the following will commit session?
session..commit()
session.getCommitTransaction()
session.getTransaction().commit()
session.getTransaction().save()
What are the different states of persistent classes?
Transient, persistent, destroyed
Transient, stored, detached
Transient, persistent, detached
open, close, detached
What is the way to pass configuration properties to Hibernate?
Pass an instance of java.util.Properties to Configuration.setProperties().
Place hibernate.properties in a root directory of the classpath.
Set System properties using java -Dproperty=value.
All the above
Which is true in the following statements?
Hibernate does not support lazy initialization for detached objects.
Access to a lazy association outside of the context of an open Hibernate session will result in an exception.
Lazy fetching is way to avoid unnecessary column reads.
All the above.
Which statement is executing native query to fetch records from table?
sess.createQuery("SELECT * FROM CATS").list();
sess.createSQLQuery("FROM CATS").list();
sess.createSQLQuery("SELECT * FROM CATS").list();
sess.createSQLQuery("from CATS", com.animals.Cat.class).list();
Which are the valid values for Cascade attribute in mapping xml?
all
persist
delete
Bi-directional links between data models are possible in Hibernate?
True
False
Is there any way to migrate multiple IIS Web sites?
The IIS 6.0 Migration tool migrates only one Web site at a time
You can use tools such as MetaEdit 2.2 or Metabase Explorer to migrate the IIS configuration for multiple sites from one server to another
Both A & B
Migrating Multiple web sites at a time is never possible
which of the below statement is true
Transport Layer Security (TLS) is just another name for SSL
Transport Layer Security (TLS) extends SSL by providing cryptographic authentication
Transport Layer Security (TLS) is a separate layer of security has no connection with SSL
None of these