Question
What is the difference between sorted and ordered collection in hibernate?

Answers

Sorted Collection:
The sorted collection is a collection that is sorted using the Java collections framework. The sorting is done in the memory of JVM that is running hibernate, soon after reading the data from the database using Java Comparator.
The less the collection the more the efficient of sorting.

Ordered Collection:
The order collections will also sorts a collection by using the order by clause for the results fetched.
The more the collection, the more efficient of sorting.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q When performing an audit of access rights, an IS auditor should be suspicious of which of the following if allocated to a computer operator? A. READ access to data B. DELETE access to transaction data files C. Logged READ/EXECUTE access to programs D. UPDATE access to job control language/script files
  • Q Vijaya Bank was established on
  • Q Percy LeBaron Spencer invented what in 1945 in USA
  • Q What are the modules of webmethods product suite?
  • Q What is a FIFO?
  • Q How will you monitor rollback segment status ?
  • Q What are the significant factors to company analysis?
  • Q What is used to create Unicode string in Python?
  • Q What is plant load factor?
  • Q Who dueted with Harry Nilsson on the 1975 Phil Spectre song 'A Love Like Yours (Don't Come Knocking Every Day)' : Dusty Springfield; Barbra Streisand; Diana Ross; or Cher?
  • Q Why is there no United States of Europe but there is a United States of America?