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. 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. Transient, persistent, destroyed

  2. Transient, stored, detached

  3. Transient, persistent, detached

  4. open, close, detached


Correct Option: C
  1. Override equals() method

  2. Override hashCode() method

  3. Both a and b

  4. Neither a nor b


Correct Option: C

What should be done to change the actual database system type (say, from DB2 to MySql)?

  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