Question
"What is the difference between these 2 annotations ?

Answers

• Entity ( name ="EMPLOYEES")

• Entity
• Table ( name=""EMPLOYEES"" )

• Entity ( name="EMP")
• Table ( name="EMPLPYEES" )

1.First Annotation will set the Entity name as EMPLOYEES and hence will try to map with the same Table name.

2.The second annotation will make the Entity mapped to table EMPLOYEES irrespective of the Entity Name ( which is class name in this case ).

3.Third Annotations will set the different names for Enitity and Table and will explicitly map them.   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 brown label ATM
  • Q What NamedParameterJdbcTemplate in Spring
  • Q Classification of information systems is essential in business continuity planning. Which of the following system types can not be replaced by manual methods? A. Critical system B. Vital system C. Sensitive system D. Non-critical system
  • Q Diferrentiate between layers and routes.
  • Q Who is the chairman of the committee on innovation and entrepreneurship set up by NITI Aayog?
  • Q What are the goals of mathml?
  • Q Which of the following American presidents was a famous t.v./film actor before elected as president-
  • Q What information is supplied by CDP? Select three. A. Device identifiers B. Capabilities list C. Platform D. Route identifier E. Neighbour traffic data
  • Q How do you differentiate ASO applications?
  • Q What is descriptive statistics?
  • Q Deccan Odyssey is a luxurious train that services through the tourist centers of which state?