Question
What is difference between session.get() and session.load()?

Answers

Both Session.Get() and Session.Load() method create a persistent object by loading the required object from the database. But if there was not an object in database, then ‘Load’ method throws an exception where as Get method returns null.   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 What is your Role in your project?
  • Q What is the NIHCL? Where can I get it?
  • Q A humorous drawing dealing with current events or politics
  • Q what is the Rectus Abdominis Primary Action
  • Q Name the joint naval exercise recently held between India and France.
  • Q The leader of Ghadar party in Bengal and Orissa was?
  • Q The beginning word ‘WE’ in the Preamble refers to the
  • Q What is a Tennessee-specific legal encyclopedia found in your law library? (A)Tennessee Jurisprudence (B)Tennessee Forms and Tennessee Practice (C)AmJur and CJS (D)Tennessee Tort Law Letter and Family Law Guide
  • Q Say True or False. If False, explain why.PL/SQL does not have data types or variables.
  • Q Say True or False. Give explanation if False.You can use a subquery in an INSERT statement.
  • Q Are you a self motivator?