Hibernate Quiz 4 | Englishfreetest.com

  • Do test 20 minutes
  • Number Questions: 10 questions
  • By: englishfreetest.com

Here's the exercise 'Hibernate Quiz 4 | Englishfreetest.com' about Technical Quiz - Technical Tests.


Put your knowledge about all things technology to the test Because everything tech, from computers and the internet to software and big data, changes rapidly on a day-to-day basis, it’s now a must to stay up to date with the technology that dominates our modern day lives. Are you up to speed on what’s going on in the tech industry today? Take our quiz to find out. Test how much you know about technology

You can find more to the lesson and more exercises. Technical Quiz - Technical Tests in here.

Finally, click here to "Test" for start practice exercise .

  • Test content
    A. Hibernate supports named parameters in its HQL queries
    B. HQL supports a range of aggregate methods, similar to SQL
    C. Both of the above
    D. None of the above
    A. The element within the id element is used to automatically generate the primary key values
    B. Set the class attribute of the generator element is set to native to let hibernate pick up either identity, sequence or hilo algorithm to create primary key depending upon the capabilities of the underlying database
    C. Both of the above
    D. None of the above
    A. Session.store()
    B. Session.keep()
    C. Session.update()
    D. Session.load()
    A. Use it for reference data only
    B. Use this strategy for read-mostly data where it is critical to prevent stale data in concurrent transactions.
    C. Use this strategy if data hardly ever changes and a small likelihood of stale data is not of critical concern.
    D. None of the above
    A. The @Table annotation allows to specify the details of the table that will be used to persist the entity in the database.
    B. The @Table annotation allows to override the name of the table, its catalogue, and its schema, and enforce unique constraints on columns in the table.
    C. Both of the above
    D. None of the above
    A. The second-level cache is the SessionFactory based cache and is mainly responsible for caching objects across sessions
    B. The second-level cache is the Session based cache
    C. Both of the above
    D. None of the above
    A. The Configuration object is the first Hibernate object you create in any Hibernate application
    B. The Configuration object is usually created only once during application initialization
    C. The Configuration object represents a configuration or properties file required by the Hibernate
    D. All of the above