Tag: web technology

Questions Related to web technology

  1. config.createSessionFactory()

  2. config.getSessionFactory()

  3. config.buildSessionFactory()

  4. config. SessionFactory.newInstance()


Correct Option: C
  1. One to one

  2. One to many

  3. Many to one

  4. None of the above


Correct Option: B
  1. integer

  2. character

  3. yes_no

  4. None of the above


Correct Option: D
  1. Override equals() method

  2. Override hashCode() method

  3. Both a and b

  4. Neither a nor b


Correct Option: C
  1. Implements java.io.Serializable

  2. Override equals() method

  3. Override hashCode() method

  4. Both a, b and c


Correct Option: D
  1. criteria.setOrder( Order.asc("name") )

  2. criteria.add( Order.asc("name") )

  3. criteria.addOrder( Order.asc("name") )

  4. criteria.addOrder( "name asc" )


Correct Option: C
  1. connection.driver_class property should be changed

  2. connection.url property should be changed

  3. dialect property should be changed

  4. All the above


Correct Option: D
  1. Using several dialect

  2. Using several

  3. Using several connection properties

  4. Not possible to map more than one database


Correct Option: B